public class ConnectionException extends MuleException
INFO_LOCATION_KEY, INFO_SOURCE_XML_KEY, 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, appendSummaryMessage, equals, getDetailedMessage, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, isVerboseExceptions, prependMessage, refreshVerboseExceptions, setMessage, setMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConnectionException(String message)
messagemessage - the detail messagepublic ConnectionException(Throwable cause)
causecause - the exception's causepublic ConnectionException(String message, Throwable cause)
message and causemessage - 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 connectioncause - the exception's causeconnection - the failed connectionCopyright © 2017 MuleSoft, Inc.. All rights reserved.