public class ConnectionException extends MuleException
EXCEPTION_MESSAGE_DELIMITER, EXCEPTION_MESSAGE_SECTION_DELIMITER, INFO_ALREADY_LOGGED_KEY, INFO_ERROR_TYPE_KEY, INFO_LOCATION_KEY, INFO_SOURCE_XML_KEY, MISSING_DEFAULT_VALUE, MULE_VERBOSE_EXCEPTIONS, verboseExceptions
Constructor and Description |
---|
ConnectionException(String message)
Creates a new instance with the specified detail
message |
ConnectionException(String message,
Throwable cause)
Creates a new instance with the specified detail
message and cause |
ConnectionException(String message,
Throwable cause,
ErrorType errorType)
|
ConnectionException(String message,
Throwable cause,
ErrorType errorType,
Object connection)
|
ConnectionException(Throwable cause)
Creates a new instance with the specified
cause |
ConnectionException(Throwable cause,
Object connection)
Creates a new instance with the specified detail
cause and failed connection |
Modifier and Type | Method and Description |
---|---|
Optional<Object> |
getConnection() |
Optional<ErrorType> |
getErrorType() |
addInfo, appendMessage, equals, getDetailedMessage, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, isVerboseExceptions, prependMessage, refreshVerboseExceptions, setMessage, setMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConnectionException(String message)
message
message
- the detail messagepublic ConnectionException(Throwable cause)
cause
cause
- the exception's causepublic ConnectionException(String message, Throwable cause)
message
and cause
message
- the detail messagecause
- the exception's causepublic ConnectionException(String message, Throwable cause, ErrorType errorType)
message
- the detail messagecause
- the exception's causeerrorType
- the exception's errorTypepublic ConnectionException(Throwable cause, Object connection)
cause
and failed connection
cause
- the exception's causeconnection
- the failed connectionCopyright © 2018. All rights reserved.