|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.filenet.bso.api.util.BsoChainingException | +--com.filenet.bso.api.util.BsoException
The base class for Case Management Java API checked exceptions.
Constructor Summary | |
BsoException()
Constructs a BsoException with no specific
detail message. |
|
BsoException(java.lang.String msg)
Constructs a BsoException with a given
detail message. |
|
BsoException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a BsoException with a given
detail message and the original exception. |
|
BsoException(java.lang.Throwable cause)
Constructs a BsoException with an
original exception. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the cause of this throwable or null if
the cause is nonexistent or unknown. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Initializes the cause of this BsoException to the specified value. |
void |
printStackTrace()
Prints the stack trace. |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace to a given PrintStream . |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace to a given PrintWriter . |
void |
printStackTraceAsCause(java.io.PrintStream s)
Prints the stack trace of the causing exception. |
void |
printStackTraceAsCause(java.io.PrintWriter s)
Prints the stack trace of the causing exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BsoException()
BsoException
with no specific
detail message. This exception and exceptions derived from it are
checked exceptions which must be specified
in a throws
clause or caught.public BsoException(java.lang.String msg)
BsoException
with a given
detail message.msg
- The detailed message.public BsoException(java.lang.Throwable cause)
BsoException
with an
original exception.cause
- The exception that is being wrapped
by this exception.public BsoException(java.lang.String msg, java.lang.Throwable cause)
BsoException
with a given
detail message and the original exception.
If you specify null
for the cause
parameter, constructs
the exception with only the detail message, which is equivalent to calling
BsoException(msg)
.
msg
- The detailed message.
cause
- The original throwable exception. Can be null
.Method Detail |
public java.lang.Throwable initCause(java.lang.Throwable cause)
cause
- The Throwable
exception or cause for this exception (which is saved
for later retrieval by the BsoChainingException.getCause()
method). A null value is
permitted, and indicates that the cause is nonexistent or unknown.public java.lang.Throwable getCause()
null
if
the cause is nonexistent or unknown. (The cause is the
throwable that caused this throwable to get thrown.)null
if the
cause is nonexistent or unknown.public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
PrintStream
.
This method prints the stack trace of the original exception, if there is
one; if not, prints the stack trace of the current exception.printStackTrace
in class java.lang.Throwable
s
- The Java PrintStream
object to use.public void printStackTraceAsCause(java.io.PrintStream s)
s
- PrintStream
object which has a println method.public void printStackTrace(java.io.PrintWriter s)
PrintWriter
.
This method prints the stack trace of the original exception, if there is
one; if not, prints the stack trace of the current exception.
printStackTrace
in class java.lang.Throwable
s
- The Java PrintWriter
object to use.public void printStackTraceAsCause(java.io.PrintWriter s)
s
- PrintWriter
object which has a println method.
|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |