Class SubscriptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ametys.plugins.pagesubscription.SubscriptionException
- All Implemented Interfaces:
 Serializable
Common exception for all subscriptions.
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the exception. - 
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new SubscriptionException.SubscriptionException(String message) Constructs a new SubscriptionException with the specified message.SubscriptionException(String message, Throwable cause) Constructs a new SubscriptionException with the specified message and cause.SubscriptionException(String message, Throwable cause, SubscriptionException.Type type) Constructs a new SubscriptionException with the specified message and cause.SubscriptionException(String message, SubscriptionException.Type type) Constructs a new SubscriptionException with the specified message.SubscriptionException(Throwable cause) Constructs a new SubscriptionException with the specified cause.SubscriptionException(Throwable cause, SubscriptionException.Type type) Constructs a new SubscriptionException with the specified cause. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
SubscriptionException
public SubscriptionException()Constructs a new SubscriptionException. - 
SubscriptionException
Constructs a new SubscriptionException with the specified message.- Parameters:
 message- the message of the exception.
 - 
SubscriptionException
Constructs a new SubscriptionException with the specified message.- Parameters:
 message- the message of the exception.type- the type of the exception
 - 
SubscriptionException
Constructs a new SubscriptionException with the specified message and cause.- Parameters:
 message- the message of the exception.cause- the cause of the exception.
 - 
SubscriptionException
Constructs a new SubscriptionException with the specified message and cause.- Parameters:
 message- the message of the exception.cause- the cause of the exception.type- the type of the exception
 - 
SubscriptionException
Constructs a new SubscriptionException with the specified cause.- Parameters:
 cause- the cause of the exception.
 - 
SubscriptionException
Constructs a new SubscriptionException with the specified cause.- Parameters:
 cause- the cause of the exception.type- the type of the exception
 
 - 
 - 
Method Details
- 
getType
Get the type of the exception- Returns:
 - the type
 
 
 -