|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.openeai.OpenEaiException
public class OpenEaiException
The parent of all OpenEAI related exception. This exception contains a root cuase exception. All printStackTrace() methods are overridden to append the root cause's stack trace to the normal stack trace.
| Constructor Summary | |
|---|---|
OpenEaiException()
Default constructor. |
|
OpenEaiException(java.lang.String message)
Constructor. |
|
OpenEaiException(java.lang.String message,
java.lang.Throwable rootCause)
Constructor. |
|
OpenEaiException(java.lang.Throwable rootCause)
Constructor. |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
Prints this Exception and its backtrace to System.err. |
void |
printStackTrace(java.io.PrintStream s)
Prints this Exception and its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this Exception and its backtrace to the specified print writer. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OpenEaiException()
public OpenEaiException(java.lang.String message)
message - text descibing the exceptionpublic OpenEaiException(java.lang.Throwable rootCause)
rootCause - the Exception that caused this exception to be thrown
public OpenEaiException(java.lang.String message,
java.lang.Throwable rootCause)
reason - an text message describing the exceptionparent - the Exception that caused this exception to be thrown| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||