|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jpox.exceptions.JPOXException
public class JPOXException
Base exception thrown by JPOX.
| Constructor Summary | |
|---|---|
JPOXException()
Constructs a new exception without a detail message. |
|
JPOXException(java.lang.String msg)
Constructs a new exception with the specified detail message. |
|
JPOXException(java.lang.String msg,
java.lang.Object failed)
Constructs a new exception with the specified detail message and failed object. |
|
JPOXException(java.lang.String msg,
java.lang.Throwable nested)
Constructs a new exception with the specified detail message and nested Throwable. |
|
JPOXException(java.lang.String msg,
java.lang.Throwable[] nested)
Constructs a new exception with the specified detail message and nested Throwables. |
|
JPOXException(java.lang.String msg,
java.lang.Throwable[] nested,
java.lang.Object failed)
Constructs a new exception with the specified detail message, nested Throwables, and failed object. |
|
JPOXException(java.lang.String msg,
java.lang.Throwable nested,
java.lang.Object failed)
Constructs a new exception with the specified detail message, nested Throwable,
and failed object. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Return the first nested exception (if any), otherwise null. |
java.lang.Object |
getFailedObject()
The exception may include a failed object. |
java.lang.Throwable[] |
getNestedExceptions()
The exception may have been caused by multiple exceptions in the runtime. |
boolean |
isFatal()
Accessor for whether the exception is fatal, or retriable. |
void |
printStackTrace()
Prints this Exception and its backtrace to the standard
error output. |
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. |
JPOXException |
setFatal()
Method to set the exception as being fatal. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 JPOXException()
public JPOXException(java.lang.String msg)
msg - the detail message.
public JPOXException(java.lang.String msg,
java.lang.Throwable[] nested)
Throwables.
msg - the detail message.nested - the nested Throwable[].
public JPOXException(java.lang.String msg,
java.lang.Throwable nested)
Throwable.
msg - the detail message.nested - the nested Throwable.
public JPOXException(java.lang.String msg,
java.lang.Object failed)
msg - the detail message.failed - the failed object.
public JPOXException(java.lang.String msg,
java.lang.Throwable[] nested,
java.lang.Object failed)
Throwables, and failed object.
msg - the detail message.nested - the nested Throwable[].failed - the failed object.
public JPOXException(java.lang.String msg,
java.lang.Throwable nested,
java.lang.Object failed)
Throwable,
and failed object.
msg - the detail message.nested - the nested Throwable.failed - the failed object.| Method Detail |
|---|
public JPOXException setFatal()
public boolean isFatal()
public java.lang.Object getFailedObject()
public java.lang.Throwable[] getNestedExceptions()
Exception.
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic void printStackTrace()
Exception and its backtrace to the standard
error output. Print nested Throwables' stack trace as well.
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
Exception and its backtrace to the
specified print stream. Print nested Throwables' stack trace as well.
printStackTrace in class java.lang.Throwables - PrintStream to use for outputpublic void printStackTrace(java.io.PrintWriter s)
Exception and its backtrace to the
specified print writer. Print nested Throwables' stack trace as well.
printStackTrace in class java.lang.Throwables - PrintWriter to use for output
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||