com.ibm.bpe.api
Class NotSerializableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.bpe.api.ProcessException
              extended by 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
           
 
Fields inherited from class com.ibm.bpe.api.ProcessException
_catalog, _cause, _id, _key, _message, _vars
 
Constructor Summary
NotSerializableException(java.lang.String message, java.lang.String stack, java.lang.Exception exception)
          Constructor.
 
Method Summary
 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

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.
Method Detail

getOriginalStack

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