net.ontopia.utils
Class OntopiaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.ontopia.utils.OntopiaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContentStoreException, PersistenceException, QueryException, TMRAPException

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

Field Summary
protected  java.lang.Throwable cause
           
 
Constructor Summary
OntopiaException(java.lang.String message)
           
OntopiaException(java.lang.String message, java.lang.Throwable cause)
           
OntopiaException(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

OntopiaException

public OntopiaException(java.lang.String message)

OntopiaException

public OntopiaException(java.lang.Throwable cause)

OntopiaException

public OntopiaException(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.