com.ibm.bpe.api

Class ProcessException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.bpe.api.ProcessException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
ActivityNameNotUniqueException, ApplicationNotStartedException, ApplicationVetoException, ArchiveUnsupportedOperationException, BpelException, CannotAccessObjectException, CannotDeleteNamespaceException, ClientException, CouldNotCreateWSIFPort_ProcessException, CreateFailedException, CreateRejectedException, DatabaseException, DataHandlingException, EngineActivityCorrelationHandlingFailureException, EngineActivityStoppedException, EngineAmbiguousActivityException, EngineAmbiguousPropertyDefinitionException, EngineAssignmentFailureExceptionException, EngineAuthorizationPluginException, EngineBaseClassNotFoundException, EngineCannotDeleteProcessException, EngineCannotDeserializeReplyContextException, EngineCannotOpenCompensationSphereException, EngineCannotResolveEndpointException, EngineCannotResolveReplacementStringException, EngineCannotUnwrapReplyContextException, EngineCompensateActivityFailedExceptionException, EngineCompensationNotSupportedException, EngineConditionEvaluationException, EngineConflictingProcessException, EngineCorrelationSetAlreadyInitializedException, EngineCorrelationSetDoesNotExistException, EngineCreateServiceReferenceException, EngineCustomAttributeAccessViolationException, EngineDataAssociationFailureException, EngineDuplicateAwaitedEventException, EngineEndlessLoopException, EngineErrorInActivityCustomPropertyResolutionException, EngineErrorInDescriptionResolutionException, EngineEventHandlerCorrelationHandlingFailureException, EngineEventNotKnownException, EngineEverybodyWorkItemException, EngineExitConditionFailedException, EngineImplQualTranMustBeGlobalException, EngineIncompatibleTypesException, EngineIncompleteUserInputException, EngineInstanceLocationFailureException, EngineInvalidCompensationSphereDescriptorException, EngineInvalidNamespaceURIException, EngineInvalidReplacementVariableException, EngineJmsApiContextException, EngineLastAdminWorkItemException, EngineLateBindingInfoException, EngineMessageAndCorrelationSetMismatchException, EngineNoInitialReceiveException, EngineNoServiceRefTypeException, EngineNotAuthorizedException, EngineNullMessageException, EngineParameterNullException, EngineParentProcessContextException, EngineProcessCannotBeMigratedException, EngineProcessInstanceNameNotUniqueException, EngineProcessModelDoesNotExistException, EngineProcessModelStoppedException, EngineProcessReaderWorkItemException, EngineProcessStarterDeletedException, EngineRefQualDeliverAsyncAtMustBeCommitException, EngineRepeatedCompensationExceptionException, EngineScopeInitializationFailureException, EngineSelectionFailureExceptionException, EngineSubProcessHasNoMatchingEventException, EngineUnknownActivityException, EngineUnsupportedJumpException, EngineVariableDoesNotExistException, EngineWrongActivityNameException, EngineWrongKindException, EngineWrongMessageTypeException, EngineWrongStateException, EngineWrongTaskTemplateException, EngineXPathCannotCreatePathException, EngineXPathCannotSetPathException, EngineXPathDataTypeMismatchException, EngineXPathExtensionFunctionFailedException, ExecuteInputOnlyOperation_NotSupportedException, GenericErrorException, GroupWorkItemException, HumanTaskManagerException, IdAndCorrelationSetMismatchException, IdWrongFormatException, IdWrongTypeException, ImplementationNotFoundException, InterOpException, InvalidAssignmentReasonException, InvalidLengthException, InvalidMessagePartTypeException, InvalidMessageTypeException, InvalidObjectNameException, InvalidParameterException, InvalidParameterValueException, InvalidPropertyAliasTypeException, InvalidStoredQueryParametersException, MandatoryParameterMissingException, MessagePartNotFoundException, MessagePartQueryFailedException, MethodNotApplicableException, MissingPartsException, MultipleInstanceException, NoMacroFlowException, NotSerializableException, ObjectDoesNotExistException, ProcessBindingMissingFormatTypeException, ProcessBindingMissingTypeMappingException, ProcessInputTypeNameNullException, ProcessInputTypeSystemNullException, ProcessInputUnknownTypeSystemException, ProcessInstanceNotUniqueException, ProcessOperationCannotFindModelException, ProcessOperationCannotInvokeException, ProcessOperationFailedException, ProcessOperationFaultNameNotSetException, ProcessOperationMissingFaultMessageException, ProcessOperationNoOutputMessageException, ProcessOperationNotKnownByPortException, ProcessOperationUnknownFaultMessageTypeException, ProcessTemplateNotFoundException, QueryCannotJoinException, QueryException, QueryInvalidOperandException, QueryInvalidParameterException, QueryInvalidTimestampException, QueryNameMissingException, QueryTableException, QueryTableException, QueryUndefinedParameterException, QueryUnknownColumnException, QueryUnknownOperatorException, QueryUnknownTableException, SendReplyErrorException, ServiceNotUniqueException, StoredQueryNameNotUniqueException, SystemFaultException, TaskManagerNotFoundException, TemplateInUseException, UnexpectedFailureException, UnknownProcessAppException, UnsupportedAcceptHeaderException, UnsupportedParameterValueException, UserRegistryException, WorkItemManagerException, XMLSchemaValidationException

  1. public class ProcessException
  2. extends java.lang.Exception
This is the base class for all exceptions thrown by the Business Flow Manager EJB API. It is a best practice to catch all exceptions with a final catch(ProcessException) statement. This statement helps to ensure the upward compatibility of your application program because it takes account of all future exceptions that can occur.
Since:
5.0
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. java.lang.String
_catalog
  1. protected
  2. java.lang.Throwable
_cause
  1. protected
  2. java.lang.String
_id
  1. protected
  2. java.lang.String
_key
  1. protected
  2. java.lang.String
_message
  1. protected
  2. java.lang.Object[]
_vars
  1. static
  2. java.lang.String
COPYRIGHT

Constructor Summary

Constructor and Description
ProcessException(java.lang.String message)
Constructs an exception object from the error message passed.
ProcessException(java.lang.String key,java.lang.Object[] vars,java.lang.String id)
Constructs an exception object with the specified message key and remembers the values of the message variables passed.
ProcessException(java.lang.String key,java.lang.Object[] vars,java.lang.String id,java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed.
ProcessException(java.lang.String catalog,java.lang.String key,java.lang.Object[] vars,java.lang.String id,java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed.
ProcessException(java.lang.String message,java.lang.Throwable cause)
Constructs an exception object from the error message and the exception passed.
ProcessException(java.lang.Throwable cause)
Constructs an exception object from the exception passed.

Method Summary

Modifier and Type Method and Description
  1. java.lang.Throwable
getCause()
Returns the nested exception.
  1. java.lang.String
getMessage()
Returns the message text of the exception object.
  1. java.lang.String
getMessage(java.util.Locale locale)
Returns the message text of the exception object in the specified language.
  1. java.lang.String
getMessageID()
Returns the message id.
  1. java.lang.String
getMessageKey()
Returns the message key.
  1. java.lang.Object[]
getMessageVariables()
Returns the values of the message variables.
  1. java.lang.Throwable
getRootCause()
Returns the root exception of this exception.
  1. void
internPrintStackTrace(java.io.PrintWriter s)
Prints this exception to the specified print writer.
  1. void
printStackTrace()
Prints this exception to the standard error stream.
  1. void
printStackTrace(java.io.PrintStream s)
Prints this exception to the specified print stream.
  1. void
printStackTrace(java.io.PrintWriter s)
Prints this exception to the specified print writer.
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:

_catalog

  1. protected java.lang.String _catalog

_message

  1. protected java.lang.String _message

_key

  1. protected java.lang.String _key

_id

  1. protected java.lang.String _id

_vars

  1. protected java.lang.Object[] _vars

_cause

  1. protected java.lang.Throwable _cause

Constructor Detail

ProcessException

  1. public ProcessException(java.lang.String message)
Constructs an exception object from the error message passed.
Parameters:
message - The error message.

ProcessException

  1. public ProcessException(java.lang.Throwable cause)
Constructs an exception object from the exception passed.
Parameters:
cause - The exception that was thrown.

ProcessException

  1. public ProcessException(java.lang.String message,
  2. java.lang.Throwable cause)
Constructs an exception object from the error message and the exception passed.
Parameters:
message - The error message.
cause - The exception that was thrown.

ProcessException

  1. public ProcessException(java.lang.String key,
  2. java.lang.Object[] vars,
  3. java.lang.String id)
Constructs an exception object with the specified message key and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
key - The message key.
vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
id - The message id.

ProcessException

  1. public ProcessException(java.lang.String key,
  2. java.lang.Object[] vars,
  3. java.lang.String id,
  4. java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
key - The message key.
vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
id - The message id.
cause - The exception that was thrown.

ProcessException

  1. public ProcessException(java.lang.String catalog,
  2. java.lang.String key,
  3. java.lang.Object[] vars,
  4. java.lang.String id,
  5. java.lang.Throwable cause)
Constructs an exception object with the specified message key and exception and remembers the values of the message variables passed. The error message can thus localize the cause of the error.
Parameters:
catalog - The catalog which have to be used to retrieve the message.
key - The message key.
vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
id - The message id.
cause - The exception that was thrown.

Method Detail

getMessage

  1. public final java.lang.String getMessage( )
Returns the message text of the exception object. If the exception object contains a message key, the message text is returned in the default language.
Overrides:
getMessage in class java.lang.Throwable
Returns:
String - The message text.

getMessage

  1. public java.lang.String getMessage( java.util.Locale locale)
Returns the message text of the exception object in the specified language. If the exception object contains a message key, the message text is returned in the specified language.
Parameters:
locale - The locale of the message catalog to be used. Is ignored if the exception object does not contain a message key.
Returns:
String - The message text.

getMessageKey

  1. public final java.lang.String getMessageKey( )
Returns the message key.
Returns:
String - The message key. If a message key is not specified, null is returned.

getMessageID

  1. public final java.lang.String getMessageID( )
Returns the message id.
Returns:
String - The message id. If a message id is not specified, null is returned.

getMessageVariables

  1. public final java.lang.Object[] getMessageVariables( )
Returns the values of the message variables.
Returns:
Object[] - The array of variable values. An empty array is returned if there are no variable values.

getCause

  1. public final java.lang.Throwable getCause( )
Returns the nested exception.
Overrides:
getCause in class java.lang.Throwable
Returns:
Throwable - The nested exception. If there is no nested exception, null is returned.

getRootCause

  1. public final java.lang.Throwable getRootCause( )
Returns the root exception of this exception.
Returns:
Throwable - The root exception.

printStackTrace

  1. public final void printStackTrace( )
Prints this exception to the standard error stream. This call is forwarded to printStackTrace(PrintWriter).
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

  1. public final void printStackTrace( java.io.PrintStream s)
Prints this exception to the specified print stream. This call will be forwarded to printStackTrace(PrintWriter).
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - The print stream to write to.

printStackTrace

  1. public final void printStackTrace( java.io.PrintWriter s)
Prints this exception to the specified print writer. If this exception has nested exceptions, the root exception's stack trace is printed.
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - The print writer to write to.

internPrintStackTrace

  1. public final void internPrintStackTrace( java.io.PrintWriter s)
Prints this exception to the specified print writer. Qualifier changed from protected to public because of split-package issues between core and common bundle.
Parameters:
s - The print writer to write to.