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:
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

Field Summary
protected  Throwable cause
           
 
Constructor Summary
OntopiaException(String message)
           
OntopiaException(String message, Throwable cause)
           
OntopiaException(Throwable cause)
           
 
Method Summary
 Throwable getCause()
           
 String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(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 Throwable cause
Constructor Detail

OntopiaException

public OntopiaException(String message)

OntopiaException

public OntopiaException(Throwable cause)

OntopiaException

public OntopiaException(String message,
                        Throwable cause)
Since:
1.3
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable
Since:
1.3

getMessage

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

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable


Copyright © 2000-2012 Ontopia.