com.ibm.bpe.api
Class NotSerializableException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.bpe.api.ProcessException
com.ibm.bpe.api.NotSerializableException
All implemented interfaces:
java.io.Serializable
- public final class NotSerializableException
- extends ProcessException
If a exception or a nested exception cannot be serialized, this exception is
replaced with a NotSerializableException
with the message text
of the original exception. You can get the stack of the original exception
with the help of getOriginalStack()
.
Since:
5.0
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Fields inherited from class com.ibm.bpe.api.ProcessException |
---|
_catalog, _cause, _id, _key, _message, _vars |
Constructor Summary
Constructor and Description |
---|
NotSerializableException(java.lang.String message,java.lang.String stack,java.lang.Exception exception)
Constructor.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getOriginalStack()
|
Methods inherited from class com.ibm.bpe.api.ProcessException |
---|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
NotSerializableException
- public NotSerializableException( java.lang.String message,
- java.lang.String stack,
- java.lang.Exception exception)
Constructor.
Parameters:
message
- The message of the original exception. stack
- The stack trace of the original exception. exception
- The exception thrown during the serialization of the original exception. Method Detail
getOriginalStack
- public java.lang.String getOriginalStack( )
Returns:
The stack trace of the original exception as a String.