public class ExceptionBean extends Object
ExceptionBean is a POJO representing the details of a Throwable| Constructor and Description |
|---|
ExceptionBean() |
ExceptionBean(Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionBean |
getCause() |
String |
getDetailMessage() |
String |
getExceptionClass() |
protected String[] |
getStackAsString(StackTraceElement[] elements) |
String[] |
getStackTrace() |
void |
setCause(ExceptionBean cause) |
void |
setDetailMessage(String detailMessage) |
void |
setExceptionClass(String exceptionClass) |
void |
setStackTrace(StackTraceElement[] stackTrace) |
void |
setStackTrace(String[] stackTrace) |
Throwable |
toException() |
public ExceptionBean()
public ExceptionBean(Throwable exception)
public Throwable toException() throws InstantiationException
InstantiationExceptionpublic String getDetailMessage()
public void setDetailMessage(String detailMessage)
public ExceptionBean getCause()
public void setCause(ExceptionBean cause)
public String[] getStackTrace()
public void setStackTrace(StackTraceElement[] stackTrace)
public void setStackTrace(String[] stackTrace)
public String getExceptionClass()
public void setExceptionClass(String exceptionClass)
protected String[] getStackAsString(StackTraceElement[] elements)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.