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
NotSerializableExceptionwith the message text of the original exception. You can get the stack of the original exception with the help ofgetOriginalStack().- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringCOPYRIGHT
-
Constructor Summary
Constructors Constructor and Description NotSerializableException(java.lang.String message, java.lang.String stack, java.lang.Exception exception)Constructor.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetOriginalStack()-
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
-
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.
-
-