org.mule.message
Class ExceptionMessage
java.lang.Object
org.mule.message.BaseMessageDTO
org.mule.message.ExceptionMessage
- All Implemented Interfaces:
- Serializable
public class ExceptionMessage
- extends BaseMessageDTO
ExceptionMessage
is used by the DefaultServiceExceptionStrategy
for wrapping an exception with a message to send via an endpointUri.
- See Also:
- Serialized Form
ExceptionMessage
public ExceptionMessage(Serializable message,
Throwable exception,
String componentName,
EndpointURI endpointUri)
ExceptionMessage
public ExceptionMessage(Object message,
Throwable exception,
String componentName,
EndpointURI endpointUri)
- Deprecated. Use ExceptionMessage(Serializable message...) instead
getAsSerializable
protected static Serializable getAsSerializable(Object message)
getComponentName
public String getComponentName()
getEndpoint
public String getEndpoint()
getTimeStamp
public Date getTimeStamp()
getException
public Throwable getException()
toString
public String toString()
- Overrides:
toString
in class BaseMessageDTO
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.