public class LocatedMuleException extends MuleException
LocatedMuleException
is a general exception that adds context location about the Exception (i.e.: where it occurred in the application).Modifier and Type | Field and Description |
---|---|
static String |
INFO_LOCATION_KEY |
static String |
INFO_SOURCE_XML_KEY |
Constructor and Description |
---|
LocatedMuleException(Message message,
Object component) |
LocatedMuleException(Message message,
Throwable cause,
Object component) |
LocatedMuleException(Object component) |
LocatedMuleException(Throwable cause,
Object component) |
Modifier and Type | Method and Description |
---|---|
protected String |
resolveProcessorPath(Object component) |
protected void |
setLocation(Object component) |
addInfo, appendMessage, equals, getDetailedMessage, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String INFO_LOCATION_KEY
public static final String INFO_SOURCE_XML_KEY
public LocatedMuleException(Object component)
component
- the object that failed during a lifecycle method callpublic LocatedMuleException(Message message, Object component)
message
- the exception messagecomponent
- the object that failed during a lifecycle method callpublic LocatedMuleException(Message message, Throwable cause, Object component)
message
- the exception messagecause
- the exception that cause this exception to be throwncomponent
- the object that failed during a lifecycle method callCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.