org.mule.message
Class ExceptionMessage

java.lang.Object
  extended by org.mule.message.BaseMessageDTO
      extended by 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

Field Summary
 
Fields inherited from class org.mule.message.BaseMessageDTO
payload, properties
 
Constructor Summary
ExceptionMessage(Object message, Throwable exception, String componentName, EndpointURI endpointUri)
           
 
Method Summary
protected static Serializable getAsSerializable(Object message)
           
 String getComponentName()
           
 String getEndpoint()
           
 Throwable getException()
           
 Date getTimeStamp()
           
 String toString()
           
 
Methods inherited from class org.mule.message.BaseMessageDTO
addProperties, clearProperties, getPayload, getProperties, getProperty, setPayload, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionMessage

public ExceptionMessage(Object message,
                        Throwable exception,
                        String componentName,
                        EndpointURI endpointUri)
Method Detail

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.