Package net.ontopia.utils
Class OntopiaRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.ontopia.utils.OntopiaRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConstraintViolationException
,DB2TMException
,JTMException
,NoSuchTopicException
,OntopiaUnsupportedException
,OntopolyModelRuntimeException
,PersistenceRuntimeException
,PhantomAccessException
,RDFMappingException
,ReadOnlyException
,ReferenceNotOpenException
,StoreDeletedException
,StoreNotOpenException
,TransactionNotActiveException
,VizigatorReportException
public class OntopiaRuntimeException extends RuntimeException
PUBLIC: A runtime exception class that can be used to wrap other exceptions with. This is the most generic runtime exception used.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OntopiaRuntimeException(String message)
OntopiaRuntimeException(String message, Throwable cause)
OntopiaRuntimeException(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
-
-