com.ibm.able
Class AbleException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--java.rmi.RemoteException
|
+--com.ibm.able.AbleException
- Direct Known Subclasses:
- AbleDataException, AbleParException, FipaException, FsException
- public class AbleException
- extends java.rmi.RemoteException
- implements java.io.Serializable
This class defines an ABLE exception from which all other
subpackages may extend their own exceptions.
- Version:
- $Revision: 1.3 $, $Date: 2000/02/08 15:13:50 $
- See Also:
- Serialized Form
Fields inherited from class java.rmi.RemoteException |
detail |
Constructor Summary |
AbleException()
Create a new exception of an unspecified severity. |
AbleException(int theSeverity)
Create a new exception of the specified severity. |
AbleException(int theSeverity,
java.lang.String theMessage,
java.lang.Throwable theThrowable)
Create a new exception with the specified message, Throwable, and
ABLE severity. |
AbleException(java.lang.String theMessage)
Create a new exception with the specified message. |
AbleException(java.lang.String theMessage,
java.lang.Throwable theThrowable)
Create a new exception with the specified message and Throwable. |
Method Summary |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
int |
getSeverity()
Retrieve the severity of the exception. |
void |
setSeverity(int theSeverity)
Set the severity of the exception. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
Methods inherited from class java.rmi.RemoteException |
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
severity
protected int severity
AbleException
public AbleException()
- Create a new exception of an unspecified severity.
AbleException
public AbleException(int theSeverity)
- Create a new exception of the specified severity.
- Parameters:
theSeverity
- An Able.Sev constant indicating the severity of
the exception.
AbleException
public AbleException(java.lang.String theMessage)
- Create a new exception with the specified message.
- Parameters:
theMessage
- A message passed on to RemoteException.
AbleException
public AbleException(java.lang.String theMessage,
java.lang.Throwable theThrowable)
- Create a new exception with the specified message and Throwable.
- Parameters:
theMessage
- A message passed on to RemoteException.
theThrowable
- An exception passed on to RemoteException.
AbleException
public AbleException(int theSeverity,
java.lang.String theMessage,
java.lang.Throwable theThrowable)
- Create a new exception with the specified message, Throwable, and
ABLE severity.
- Parameters:
theSeverity
- An Able.Sev constant indicating the severity of
this exception.
theMessage
- A message passed on to RemoteException.
theThrowable
- An exception passed on to RemoteException.
setSeverity
public void setSeverity(int theSeverity)
- Set the severity of the exception.
- Parameters:
theSeverity
- An Able.Sev constant.
getSeverity
public int getSeverity()
- Retrieve the severity of the exception.
- Returns:
- An Able.Sev constant.
toString
public java.lang.String toString()
- Retrieve a string describing (the contents of) the object.
- Returns:
- A String containing the current contents of the object.
- Overrides:
- toString in class java.lang.Throwable
Copyright
public static java.lang.String Copyright()
- Determine the copyright of this class.
- Returns:
- A String containing this class's copyright statement.
ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'