fuego.papi
Class OperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fuego.lang.DefaultException
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
Methods inherited from class fuego.lang.DefaultException |
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail |
OperationException
public OperationException()
OperationException
public OperationException(Throwable cause)
wrap
public static final OperationException wrap(Throwable cause)
© Copyright 1996/2005 Fuego Inc. All Rights Reserved