Package i5.las2peer.api.persistency
Class EnvelopeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
i5.las2peer.api.persistency.EnvelopeException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
EnvelopeAccessDeniedException,EnvelopeAlreadyExistsException,EnvelopeNotFoundException,EnvelopeOperationFailedException,OverwriteException,PastryStorageException
public class EnvelopeException
extends java.lang.Exception
This general exception or its more specific subclasses are thrown, if an error in relation with the shared storage
system occurs.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description EnvelopeException(java.lang.String message)This constructor sets only the message for this exception and leaves the cause tonull.EnvelopeException(java.lang.String message, java.lang.Throwable cause)This constructor allows to set message and cause for this exception.EnvelopeException(java.lang.Throwable cause)This constructor leaves the messagenulland sets only the cause for this exception. -
Method Summary
-
Constructor Details
-
EnvelopeException
public EnvelopeException(java.lang.String message)This constructor sets only the message for this exception and leaves the cause tonull.- Parameters:
message- A message that describes the error.
-
EnvelopeException
public EnvelopeException(java.lang.Throwable cause)This constructor leaves the messagenulland sets only the cause for this exception. This is usually used to wrap other exception types and unify exception handling for the developer.- Parameters:
cause- An other exception that caused this one.
-
EnvelopeException
public EnvelopeException(java.lang.String message, java.lang.Throwable cause)This constructor allows to set message and cause for this exception.- Parameters:
message- A message that describes the error.cause- An other exception that caused this one.
-