|
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 | +--java.lang.RuntimeException | +--com.filenet.bso.api.util.BsoChainingRuntimeException | +--com.filenet.bso.api.util.BsoRuntimeException
Base class for Case Management Java API unchecked runtime exceptions.
Constructor Summary | |
BsoRuntimeException()
Constructs a BsoRuntimeException with no specific
detail message. |
|
BsoRuntimeException(java.lang.String msg)
Constructs a BsoRuntimeException with a given
detail message. |
|
BsoRuntimeException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a BsoRuntimeException with a given
detail message and the original exception. |
|
BsoRuntimeException(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 BsoRuntimeException()
BsoRuntimeException
with no specific
detail message. This exception and exceptions derived from it are
unchecked exceptions which need not
be specified in a throws
clause or specifically caught.public BsoRuntimeException(java.lang.String msg)
BsoRuntimeException
with a given
detail message.msg
- The detailed message.public BsoRuntimeException(java.lang.Throwable cause)
BsoException
with an
original exception.cause
- The cause exception that is being wrapped
by this exception.public BsoRuntimeException(java.lang.String msg, java.lang.Throwable cause)
BsoRuntimeException
with a given
detail message and the original exception.
If you specify null
for the e
parameter, constructs
the exception with only the detail message, which is equivalent to calling
BsoRuntimeException(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 BsoChainingRuntimeException.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 |