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
NotSerializableException is basically a placeholder for nested exceptions
that serialization fails.
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:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Constructor Summary |
NotSerializableException(java.lang.String message,
java.lang.String stack,
java.lang.Exception exception)
Constructor. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
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.
getOriginalStack
public java.lang.String getOriginalStack()
- Returns:
- The stack trace of the original exception as a String.