org.mule.impl.message
Class ExceptionMessage

java.lang.Object
  extended byorg.mule.impl.message.BaseMessage
      extended byorg.mule.impl.message.ExceptionMessage
All Implemented Interfaces:
Serializable

public class ExceptionMessage
extends BaseMessage

ExceptionMessage is used by the DefaultComponentExceptionStrategy for wrapping an exception with a message to send via an endpointUri.

Version:
$Revision: 3167 $
Author:
Ross Mason
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mule.impl.message.BaseMessage
context, message
 
Constructor Summary
ExceptionMessage(Object message, Throwable exception, String componentName, UMOEndpointURI endpointUri)
           
 
Method Summary
 String getComponentName()
           
 UMOEndpointURI getEndpoint()
           
 Throwable getException()
           
 Date getTimeStamp()
           
 String toString()
           
 
Methods inherited from class org.mule.impl.message.BaseMessage
addProperties, clearProperties, getPayload, getPayloadAsBytes, getPayloadAsString, getProperties, getProperty, 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,
                        UMOEndpointURI endpointUri)
Method Detail

getComponentName

public String getComponentName()

getEndpoint

public UMOEndpointURI getEndpoint()

getTimeStamp

public Date getTimeStamp()

getException

public Throwable getException()

toString

public String toString()
Overrides:
toString in class BaseMessage


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.