org.mule.impl.message
Class ExceptionPayload

java.lang.Object
  extended byorg.mule.impl.message.ExceptionPayload
All Implemented Interfaces:
Serializable, UMOExceptionPayload

public class ExceptionPayload
extends Object
implements UMOExceptionPayload

ExceptionPayload TODO

See Also:
Serialized Form

Constructor Summary
ExceptionPayload(Throwable exception)
           
 
Method Summary
 int getCode()
           
 Throwable getException()
           
 Map getInfo()
           
 String getMessage()
           
 Throwable getRootException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionPayload

public ExceptionPayload(Throwable exception)
Method Detail

getRootException

public Throwable getRootException()
Specified by:
getRootException in interface UMOExceptionPayload

getCode

public int getCode()
Specified by:
getCode in interface UMOExceptionPayload

getMessage

public String getMessage()
Specified by:
getMessage in interface UMOExceptionPayload

getInfo

public Map getInfo()
Specified by:
getInfo in interface UMOExceptionPayload

getException

public Throwable getException()
Specified by:
getException in interface UMOExceptionPayload


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.