org.mule.example.errorhandler
Class ExceptionBean
java.lang.Object
org.mule.example.errorhandler.ExceptionBean
public class ExceptionBean
- extends Object
The ExceptionBean
is a POJO representing the details of a Throwable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionBean
public ExceptionBean()
ExceptionBean
public ExceptionBean(Throwable exception)
toException
public Throwable toException()
throws InstantiationException
- Throws:
InstantiationException
getDetailMessage
public String getDetailMessage()
setDetailMessage
public void setDetailMessage(String detailMessage)
getCause
public ExceptionBean getCause()
setCause
public void setCause(ExceptionBean cause)
getStackTrace
public String[] getStackTrace()
setStackTrace
public void setStackTrace(StackTraceElement[] stackTrace)
setStackTrace
public void setStackTrace(String[] stackTrace)
getExceptionClass
public String getExceptionClass()
setExceptionClass
public void setExceptionClass(String exceptionClass)
getStackAsString
protected String[] getStackAsString(StackTraceElement[] elements)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.