|
|||||||||
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
ariba.util.core.LobException
public class LobException
Represents an exception that has occurred during an interaction with a large-object (lob.)
This class contains the ability to nest (or chain) exceptions, a feature which has been added to JDK 1.4. At the time that we upgrade to that platform we should remove this functionality from this class.
Constructor Summary | |
---|---|
LobException(java.lang.Exception exception)
Constructs a new instance with the specified nested exception. |
|
LobException(java.lang.String message)
Constructs a new instance with the specified message . |
|
LobException(java.lang.String message,
java.lang.Exception exception)
Constructs a new instance with the specified nested exception and detail message. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Returns the nested Exception of this , if any
or null if none. |
void |
printStackTrace()
Prints the stack trace of this followed by the stack trace
of the nested exception, if any to System.err . |
void |
printStackTrace(java.io.PrintStream ps)
Prints the stack trace of this followed by the stack trace
of the nested exception, if any to the specified PrintStream . |
void |
printStackTrace(java.io.PrintWriter pw)
Prints the stack trace of this followed by the stack trace
of the nested exception, if any to the specified PrintWriter . |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LobException(java.lang.String message)
message
.
public LobException(java.lang.Exception exception)
public LobException(java.lang.String message, java.lang.Exception exception)
Method Detail |
---|
public java.lang.Exception getException()
Exception
of this
, if any
or null
if none.
public void printStackTrace(java.io.PrintWriter pw)
this
followed by the stack trace
of the nested exception, if any to the specified PrintWriter
.
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
this
followed by the stack trace
of the nested exception, if any to the specified PrintStream
.
printStackTrace
in class java.lang.Throwable
public void printStackTrace()
this
followed by the stack trace
of the nested exception, if any to System.err
.
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |