com.ibm.bpe.api

Class NotSerializableException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.bpe.api.ProcessException
  5. extended bycom.ibm.bpe.api.NotSerializableException
All implemented interfaces:
java.io.Serializable

  1. public final class NotSerializableException
  2. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
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
  1. java.lang.String
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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

NotSerializableException

  1. public NotSerializableException( java.lang.String message,
  2. java.lang.String stack,
  3. 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

  1. public java.lang.String getOriginalStack( )
Returns:
The stack trace of the original exception as a String.