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(Object message,
Throwable exception,
String componentName,
EndpointURI endpointUri)
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-2009 MuleSource, Inc.. All Rights Reserved.