public class MessagingConnectorException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
MessagingConnectorException.ExceptionType
Information about the exception
|
Modifier and Type | Field and Description |
---|---|
private MessagingConnectorException.ExceptionType |
_type |
Constructor and Description |
---|
MessagingConnectorException(MessagingConnectorException.ExceptionType type,
Throwable cause)
Constructs a new exception with the specified cause.
|
MessagingConnectorException(String message)
Constructs a new exception with the specified detail message.
|
MessagingConnectorException(String message,
MessagingConnectorException.ExceptionType type)
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.
|
MessagingConnectorException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
MessagingConnectorException(Throwable cause)
Constructs a new exception with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
MessagingConnectorException.ExceptionType |
getType()
Get the type of exception
|
DynamicInformationException |
toDynamicInformationException()
Create a DynamicInformationException from this MessagingConnectorException
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private MessagingConnectorException.ExceptionType _type
public MessagingConnectorException(String message)
message
- the detail message.public MessagingConnectorException(String message, MessagingConnectorException.ExceptionType type)
message
- the detail message.type
- reason of the exceptionpublic MessagingConnectorException(String message, Throwable cause)
message
- the detail message.cause
- the cause.public MessagingConnectorException(String message, MessagingConnectorException.ExceptionType type, Throwable cause)
message
- the detail message.type
- reason of the exceptioncause
- the cause.public MessagingConnectorException(Throwable cause)
cause
- the specified cause.public MessagingConnectorException(MessagingConnectorException.ExceptionType type, Throwable cause)
type
- reason of the exceptioncause
- the specified cause.public MessagingConnectorException.ExceptionType getType()
public DynamicInformationException toDynamicInformationException()