public class ErrorMessage extends Object
ErrorMessage represents an exception.| Constructor and Description |
|---|
ErrorMessage() |
ErrorMessage(ExceptionBean exception) |
ErrorMessage(Throwable exception) |
ErrorMessage(Throwable exception,
Map<Object,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionBean |
getException() |
Map<Object,Object> |
getProperties() |
Throwable |
getThrowable() |
void |
setException(ExceptionBean exception) |
void |
setProperties(Map<Object,Object> properties) |
void |
setThrowable(Throwable throwable) |
public ErrorMessage()
public ErrorMessage(ExceptionBean exception) throws InstantiationException
InstantiationExceptionpublic ErrorMessage(Throwable exception)
public ExceptionBean getException()
public void setException(ExceptionBean exception) throws InstantiationException
InstantiationExceptionpublic Throwable getThrowable()
public void setThrowable(Throwable throwable)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.