java.lang.Object
java.lang.Throwable
java.lang.Exception
recoin.exception.RECOINException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ClassLoadingException, ComponentException, ComponentRunnableException, ComponentSupportException, ComponentWorkerException, GUIException, IllegalModuleException, InitiationException, MissingDataException, RepositoryException
- public class RECOINException
- extends java.lang.Exception
This class forms the superclass for all individual exceptions thrown inside RECOIN.
It encapsulates an extra String object to store an individual message and also knows
different error categories.
- Version:
- 0.2.9
| Nested classes inherited from class java.lang.Throwable |
|
|
Field Summary |
private static int |
CRITICAL
Static variable representing a critical error. |
private int |
errorCategory
The error category of this RECOINException. |
protected java.lang.String |
myMessage
An additional message describing the context in which the exception was thrown. |
private static int |
WARNING
Static variable representing a minor error. |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
|
Method Summary |
java.lang.String |
getMessage()
Returns the error message of this RECOINException.
If there exists an original exception that this RECOINException is based on, its
error message is appended to the message of this RECOINException. |
myMessage
protected java.lang.String myMessage
- An additional message describing the context in which the exception was thrown.
CRITICAL
private static int CRITICAL
- Static variable representing a critical error.
WARNING
private static int WARNING
- Static variable representing a minor error.
errorCategory
private int errorCategory
- The error category of this RECOINException.
RECOINException
public RECOINException()
- Creates a new RECOINException.
RECOINException
public RECOINException(java.lang.String msg)
- Creates a new RECOINException with the specified message.
RECOINException
public RECOINException(java.lang.String msg,
java.lang.Exception e)
- Creates a new RECOINException with the specified original exception and the
specified message.
getMessage
public java.lang.String getMessage()
- Returns the error message of this RECOINException.
If there exists an original exception that this RECOINException is based on, its
error message is appended to the message of this RECOINException.