de.unima.alcomox.exceptions
Class AlcomoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.unima.alcomox.exceptions.AlcomoException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CorrespondenceException, DiagnosisException, MappingException, OntologyException, PCFException

public abstract class AlcomoException
extends java.lang.Exception

Every problem that might occur and cannot be solved is thrown as instance of this class. Also any exception thrown internally is captured and transformed into an alcomo exception.

See Also:
Serialized Form

Field Summary
protected  java.lang.Exception catchedException
           
protected  java.lang.String generalDescription
           
protected  java.lang.String mainDescription
           
protected  java.lang.String specificDescription
           
 
Constructor Summary
AlcomoException(java.lang.String mainDescription)
           
 
Method Summary
 java.lang.String toString()
          Returns a human understandable string representation.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mainDescription

protected java.lang.String mainDescription

generalDescription

protected java.lang.String generalDescription

specificDescription

protected java.lang.String specificDescription

catchedException

protected java.lang.Exception catchedException
Constructor Detail

AlcomoException

public AlcomoException(java.lang.String mainDescription)
Method Detail

toString

public java.lang.String toString()
Returns a human understandable string representation.

Overrides:
toString in class java.lang.Throwable
Returns:
A string representation of this exception.