org.mule.message
Class DefaultExceptionPayload

java.lang.Object
  extended by org.mule.message.DefaultExceptionPayload
All Implemented Interfaces:
Serializable, ExceptionPayload

public class DefaultExceptionPayload
extends Object
implements ExceptionPayload

DefaultExceptionPayload TODO

See Also:
Serialized Form

Constructor Summary
DefaultExceptionPayload(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

DefaultExceptionPayload

public DefaultExceptionPayload(Throwable exception)
Method Detail

getRootException

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

getCode

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

getMessage

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

getInfo

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

getException

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


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