de.unima.alcomox.exceptions
Class OntologyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.unima.alcomox.exceptions.AlcomoException
              extended by de.unima.alcomox.exceptions.OntologyException
All Implemented Interfaces:
java.io.Serializable

public class OntologyException
extends AlcomoException

An ontology exception handles every type of problems related to ontologies. This comprises reading ontologies from files as well as stuff related to reasoning or extending with ontologies.

See Also:
Serialized Form

Field Summary
static int INVALID_FORMAT
           
static int IO_ERROR
           
static int MODIFICATION_FAILED
           
static int REASONING_ERROR
           
static int REFERENCE_MISSING
           
 
Fields inherited from class de.unima.alcomox.exceptions.AlcomoException
catchedException, generalDescription, mainDescription, specificDescription
 
Constructor Summary
OntologyException(int generalDescriptionId)
           
OntologyException(int generalDescriptionId, java.lang.String specificDescription)
           
OntologyException(int generalDescriptionId, java.lang.String specificDescription, java.lang.Exception e)
           
 
Method Summary
 
Methods inherited from class de.unima.alcomox.exceptions.AlcomoException
toString
 
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

IO_ERROR

public static final int IO_ERROR
See Also:
Constant Field Values

INVALID_FORMAT

public static final int INVALID_FORMAT
See Also:
Constant Field Values

REFERENCE_MISSING

public static final int REFERENCE_MISSING
See Also:
Constant Field Values

MODIFICATION_FAILED

public static final int MODIFICATION_FAILED
See Also:
Constant Field Values

REASONING_ERROR

public static final int REASONING_ERROR
See Also:
Constant Field Values
Constructor Detail

OntologyException

public OntologyException(int generalDescriptionId,
                         java.lang.String specificDescription,
                         java.lang.Exception e)

OntologyException

public OntologyException(int generalDescriptionId,
                         java.lang.String specificDescription)

OntologyException

public OntologyException(int generalDescriptionId)