ALBPM Process API (PAPI)

fuego.papi
Class OperationException

java.lang.Object
  extended byDefaultException
      extended byfuego.papi.OperationException
Direct Known Subclasses:
ApplicationsNotAvailableInProcessException, AttachmentOperationException, CommunicationException, IncompleteJobsException, MarshallingException, MaxSizeParticipantsExceededException, NoParticipantMatchesRole, ParticipantException, ProcessNotAvailableException, ProcessOperationException, PropertyOperationException, ViewOperationException

public class OperationException
extends DefaultException

Superclass of all Exceptions in the fuego.papi and fuego.papi.exception packages.

PAPI Exceptions are organized into Exception superclasses, which contain the word Operation, and subclasses of these Exceptions. For example, ViewOperationException is the superclass of View Exceptions such as ViewNotFoundException.

This exception is thrown when an execution or operation fails.

To handle the messaging take a look to the DEFAULT_EXCEPTION.

See Also:
fuego.lang.DefaultException, Serialized Form

Constructor Summary
OperationException()
          Creates a new OperationException object.
OperationException(Throwable cause)
          Creates a new OperationException object with an specified cause.
 
Method Summary
static OperationException wrap(Throwable cause)
          Construct a new OperationException with an specific cause.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationException

public OperationException()
Creates a new OperationException object.


OperationException

public OperationException(Throwable cause)
Creates a new OperationException object with an specified cause.

Parameters:
cause - the problem which generated the exception.
Method Detail

wrap

public static OperationException wrap(Throwable cause)
Construct a new OperationException with an specific cause.

Parameters:
cause - the problem which generate the exception.
Returns:
a new OperationException with the specified cause.

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved