public class SuppressedMuleException extends MuleException
Throwable.getCause() will not be taken into account during the
Error resolution.
throw newwill resolve to anTypedException(newConnectionException(),customErrorType)
Error whith Error.getErrorType() returning ConnectionException's error type (discarding the top level customErrorType)
throw newwill resolve to anTypedException(newSuppressedMuleException(newConnectionException()),customErrorType)
Error with Error.getErrorType() returning customErrorType (discarding the underlying ConnectionException's error type})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 |
|---|
SuppressedMuleException(Throwable causeToSuppress)
Constructs a new
SuppressedMuleException |
addInfo, appendMessage, 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 SuppressedMuleException(Throwable causeToSuppress)
SuppressedMuleExceptioncauseToSuppress - The cause that wants to be suppressed. Cannot be null.Copyright © 2020 MuleSoft, Inc.. All rights reserved.