ALBPM Process API

fuego.papi
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fuego.lang.DefaultException
              extended by fuego.papi.OperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ApplicationsNotAvailableInProcessException, AttachmentOperationException, CommunicationException, IncompleteJobsException, InvalidArgumentException, MarshallingException, MaxSizeParticipantsExceededException, NoParticipantMatchesRole, ParticipantException, ProcessNotAvailableException, ProcessOperationException, PropertyOperationException, ViewOperationException

public class OperationException
extends fuego.lang.DefaultException

Every PAPI method that throw an instance, throws an OperationException, or some heir of this one.

The main idea is to keep the interface as untouched as possible, using this kind of methodology every time Fuego add a new exception the interface doesn't suffer any modification.
The other advantage is that no need to handle a lot of particular exceptions. If the need arise, the developer simply start to handle the specific Exception, before catching OperationException.

This OperationException class is the starting point for other "main" exceptions, like ProcessOperationException or ViewOperationException, etc.
To handle de messaging take a look to the DEFAULT_EXCEPTION.

See Also:
DefaultException, Serialized Form

Constructor Summary
OperationException()
           
OperationException(Throwable cause)
           
 
Method Summary
static OperationException wrap(Throwable cause)
           
 
Methods inherited from class fuego.lang.DefaultException
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationException

public OperationException()

OperationException

public OperationException(Throwable cause)
Method Detail

wrap

public static final OperationException wrap(Throwable cause)

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved