Package net.ontopia.utils
Class OntopiaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.ontopia.utils.OntopiaException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContentStoreException
,PersistenceException
,QueryException
,TMRAPException
public class OntopiaException extends Exception
PUBLIC: An exception class that can be used to wrap other exceptions with. This is the most generic exception used.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OntopiaException(String message)
OntopiaException(String message, Throwable cause)
OntopiaException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
String
getMessage()
void
printStackTrace()
void
printStackTrace(PrintStream ps)
void
printStackTrace(PrintWriter pw)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Field Detail
-
cause
protected Throwable cause
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
- Since:
- 1.3.2
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintStream ps)
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace(PrintWriter pw)
- Overrides:
printStackTrace
in classThrowable
-
-