com.ibm.bpe.api
Class EngineWrongStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.bpe.api.ProcessException
              extended bycom.ibm.bpe.api.EngineWrongStateException
All Implemented Interfaces:
java.io.Serializable

public class EngineWrongStateException
extends ProcessException

Exception class for error message Engine.WrongState.
Thrown when: The object is not in a state that allows the requested action.
User action: Check the object state and the allowed actions.

See Also:
Serialized Form

Constructor Summary
EngineWrongStateException(java.lang.Object[] vars)
          Constructor.
EngineWrongStateException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageKey, getMessageVariables, getRootCause, 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
 

Constructor Detail

EngineWrongStateException

public EngineWrongStateException(java.lang.Object[] vars)
Constructor.

Parameters:
vars - See EngineWrongStateException(Object[], Throwable)

EngineWrongStateException

public EngineWrongStateException(java.lang.Object[] vars,
                                 java.lang.Throwable cause)
Constructor.

Parameters:
vars - An array with 0 substitution variables for BPEE0021E: The state of the object does not allow the requested action.
cause - The exception that was thrown.