org.mule.example.errorhandler
Class ExceptionBean
java.lang.Object
org.mule.example.errorhandler.ExceptionBean
public class ExceptionBean
- extends java.lang.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(java.lang.Throwable exception)
toException
public java.lang.Throwable toException()
throws java.lang.InstantiationException
- Throws:
java.lang.InstantiationException
getDetailMessage
public java.lang.String getDetailMessage()
setDetailMessage
public void setDetailMessage(java.lang.String detailMessage)
getCause
public ExceptionBean getCause()
setCause
public void setCause(ExceptionBean cause)
getStackTrace
public java.lang.String[] getStackTrace()
setStackTrace
public void setStackTrace(java.lang.StackTraceElement[] stackTrace)
setStackTrace
public void setStackTrace(java.lang.String[] stackTrace)
getExceptionClass
public java.lang.String getExceptionClass()
setExceptionClass
public void setExceptionClass(java.lang.String exceptionClass)
getStackAsString
protected java.lang.String[] getStackAsString(java.lang.StackTraceElement[] elements)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.