Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoin.exception
Class RECOINException  view RECOINException download RECOINException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byrecoin.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 Class Summary
 
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
 
Constructor Summary
RECOINException()
          Creates a new RECOINException.
RECOINException(java.lang.String msg)
          Creates a new RECOINException with the specified message.
RECOINException(java.lang.String msg, java.lang.Exception e)
          Creates a new RECOINException with the specified original exception and the specified message.
 
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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.

Method Detail

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.