public class ExceptionMessage extends BaseMessage
ExceptionMessage
is used by the DefaultServiceExceptionStrategy
for wrapping an exception with a message to send via an endpointUri.context, message
Constructor and Description |
---|
ExceptionMessage(Object message,
Throwable exception,
String componentName,
EndpointURI endpointUri) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentName() |
EndpointURI |
getEndpoint() |
Throwable |
getException() |
Date |
getTimeStamp() |
String |
toString() |
addProperties, clearProperties, getPayload, getPayloadAsBytes, getPayloadAsString, getProperties, getProperty, setProperty
public ExceptionMessage(Object message, Throwable exception, String componentName, EndpointURI endpointUri)
public String getComponentName()
public EndpointURI getEndpoint()
public Date getTimeStamp()
public Throwable getException()
public String toString()
toString
in class BaseMessage
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.