All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.tspaces.TupleSpaceException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----com.ibm.tspaces.TupleSpaceException
- public class TupleSpaceException
- extends Exception
A TupleSpaceException represents an exception to the normal processing
of a TupleSpace.
- Author:
- Daniel Ford, Toby Lehman
- See Also:
- Field, Tuple, TupleSpace
-
TupleSpaceException(String)
- Create a TupleSpace exception and record a reason for the
exception.
-
TupleSpaceException(String, Object)
- Create a TupleSpace exception and record a reason for the
exception.
-
TupleSpaceException(String, Object, Object)
- Create a TupleSpace exception and record a reason for the
exception.
-
TupleSpaceException(String, Object, Object, Object)
- Create a TupleSpace exception and record a reason for the
exception.
-
TupleSpaceException(String, Object, Object, Object, Object)
- Create a TupleSpace exception and record a reason for the
exception.
-
TupleSpaceException(String, Object, Object, Object, Object, Object)
- Create a TupleSpace exception and record a reason for the
exception.
-
TupleSpaceException(String, Object[])
- Create a TupleSpace exception and record a reason for the
exception.
-
equals(Object)
- Needed because all classes that go in a Field of a Tuple must have an equals operator
defined; even though the exception classes only go in there to be passed back to the
client and are never put into a space, this is the way it is for now.
-
getBundle()
- Return the appropriate ResourceBundle instance.
-
removeNulls(Object[])
- remove the nulls from the params because they will cause a problem
when formatting.
TupleSpaceException
public TupleSpaceException(String msg)
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- msg - The reason for the TupleSpace exception
TupleSpaceException
public TupleSpaceException(String messageKey,
Object messageParameters[])
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- messageString - A localized message pattern for use by the
class MessageFormat
- messageParameters - The array of parameters to be substituted
into the message string during formating
TupleSpaceException
public TupleSpaceException(String messageKey,
Object p1)
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- messageString - A localized message pattern for use by the
class MessageFormat
- p1 - a paramater to be substituted into the format string
TupleSpaceException
public TupleSpaceException(String messageKey,
Object p1,
Object p2)
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- messageString - A localized message pattern for use by the
class MessageFormat
- p1 - a paramater to be substituted into the format string
- p2 - a paramater to be substituted into the format string
TupleSpaceException
public TupleSpaceException(String messageKey,
Object p1,
Object p2,
Object p3)
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- messageString - A localized message pattern for use by the
class MessageFormat
- p1 - a paramater to be substituted into the format string
- p2 - a paramater to be substituted into the format string
- p3 - a paramater to be substituted into the format string
TupleSpaceException
public TupleSpaceException(String messageKey,
Object p1,
Object p2,
Object p3,
Object p4)
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- messageString - A localized message pattern for use by the
class MessageFormat
- p1 - a paramater to be substituted into the format string
- p2 - a paramater to be substituted into the format string
- p3 - a paramater to be substituted into the format string
- p4 - a paramater to be substituted into the format string
TupleSpaceException
public TupleSpaceException(String messageKey,
Object p1,
Object p2,
Object p3,
Object p4,
Object p5)
- Create a TupleSpace exception and record a reason for the
exception.
- Parameters:
- messageString - A localized message pattern for use by the
class MessageFormat
- p1 - a paramater to be substituted into the format string
- p2 - a paramater to be substituted into the format string
- p3 - a paramater to be substituted into the format string
- p4 - a paramater to be substituted into the format string
- p5 - a paramater to be substituted into the format string
equals
public boolean equals(Object o)
- Needed because all classes that go in a Field of a Tuple must have an equals operator
defined; even though the exception classes only go in there to be passed back to the
client and are never put into a space, this is the way it is for now.
This equals just calls super.equals(o)
- Returns:
- super.equals(o);
- Overrides:
- equals in class Object
removeNulls
protected static Object[] removeNulls(Object params[])
- remove the nulls from the params because they will cause a problem
when formatting.
- Parameters:
- params - the original params
- Returns:
- the params with String "null" replaced for nulls
getBundle
protected static ResourceBundle getBundle()
- Return the appropriate ResourceBundle instance. The
ResourceBundle is used to get localization strings for messages.
- Returns:
- an instance of ResourceBundle
All Packages Class Hierarchy This Package Previous Next Index