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 SummaryNested ClassesModifier and TypeClassDescriptionstatic enumInformation about the exception
- 
Constructor SummaryConstructorsConstructorDescriptionMessagingConnectorException(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 SummaryModifier and TypeMethodDescriptiongetType()Get the type of exceptionCreate a DynamicInformationException from this MessagingConnectorExceptionMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
MessagingConnectorExceptionConstructs a new exception with the specified detail message.- Parameters:
- message- the detail message.
 
- 
MessagingConnectorExceptionConstructs a new exception with the specified detail message.- Parameters:
- message- the detail message.
- type- reason of the exception
 
- 
MessagingConnectorExceptionConstructs a new exception with the specified detail message and cause.- Parameters:
- message- the detail message.
- cause- the cause.
 
- 
MessagingConnectorExceptionpublic 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 exception
- cause- the cause.
 
- 
MessagingConnectorExceptionConstructs a new exception with the specified cause.- Parameters:
- cause- the specified cause.
 
- 
MessagingConnectorExceptionConstructs a new exception with the specified cause.- Parameters:
- type- reason of the exception
- cause- the specified cause.
 
 
- 
- 
Method Details- 
getTypeGet the type of exception
- 
toDynamicInformationExceptionCreate a DynamicInformationException from this MessagingConnectorException- Returns:
- a new DynamicInformationException
 
 
-