Class MessagingConnectorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ametys.plugins.messagingconnector.MessagingConnectorException
- All Implemented Interfaces:
Serializable
Common exception for all messaging connectors.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Information about the exception -
Constructor Summary
ConstructorDescriptionMessagingConnectorException
(String message) Constructs a new exception with the specified detail message.MessagingConnectorException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified detail message.MessagingConnectorException
(String message, MessagingConnectorException.ExceptionType type, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified cause.Constructs a new exception with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Get the type of exceptionCreate a DynamicInformationException from this MessagingConnectorExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MessagingConnectorException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
MessagingConnectorException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.type
- reason of the exception
-
MessagingConnectorException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause.
-
MessagingConnectorException
public MessagingConnectorException(String message, MessagingConnectorException.ExceptionType type, Throwable cause) Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message.type
- reason of the exceptioncause
- the cause.
-
MessagingConnectorException
Constructs a new exception with the specified cause.- Parameters:
cause
- the specified cause.
-
MessagingConnectorException
Constructs a new exception with the specified cause.- Parameters:
type
- reason of the exceptioncause
- the specified cause.
-
-
Method Details
-
getType
Get the type of exception -
toDynamicInformationException
Create a DynamicInformationException from this MessagingConnectorException- Returns:
- a new DynamicInformationException
-