net.ontopia.utils
Class OntopiaRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ontopia.utils.OntopiaRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActionRuntimeException, ConstraintViolationException, DB2TMException, JTMException, NoActionDataFoundException, NoSuchTopicException, OntopiaLicenseException, OntopiaUnsupportedException, OntopolyModelRuntimeException, PersistenceRuntimeException, PhantomAccessException, RDFMappingException, ReadOnlyException, ReferenceNotOpenException, StoreDeletedException, StoreNotOpenException, TransactionNotActiveException, VizigatorReportException

public class OntopiaRuntimeException
extends java.lang.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

Field Summary
protected  java.lang.Throwable cause
           
 
Constructor Summary
OntopiaRuntimeException(java.lang.String message)
           
OntopiaRuntimeException(java.lang.String message, java.lang.Throwable cause)
           
OntopiaRuntimeException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream ps)
           
 void printStackTrace(java.io.PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

protected java.lang.Throwable cause
Constructor Detail

OntopiaRuntimeException

public OntopiaRuntimeException(java.lang.String message)

OntopiaRuntimeException

public OntopiaRuntimeException(java.lang.Throwable cause)

OntopiaRuntimeException

public OntopiaRuntimeException(java.lang.String message,
                               java.lang.Throwable cause)
Since:
1.3
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable
Since:
1.3

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
Since:
1.3.2

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2000-2012 Ontopia.