org.mule.example.errorhandler
Class ErrorMessage
java.lang.Object
org.mule.example.errorhandler.ErrorMessage
public class ErrorMessage
- extends Object
The ErrorMessage
represents an exception.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorMessage
public ErrorMessage()
ErrorMessage
public ErrorMessage(ExceptionBean exception)
throws InstantiationException
- Throws:
InstantiationException
ErrorMessage
public ErrorMessage(Throwable exception)
ErrorMessage
public ErrorMessage(Throwable exception,
Map props)
getException
public ExceptionBean getException()
- Returns:
- Returns the exception.
setException
public void setException(ExceptionBean exception)
throws InstantiationException
- Parameters:
exception
- The exception to set.
- Throws:
InstantiationException
getProperties
public Map getProperties()
- Returns:
- Returns the properties.
setProperties
public void setProperties(Map properties)
- Parameters:
properties
- The properties to set.
getThrowable
public Throwable getThrowable()
- Returns:
- Returns the throwable.
setThrowable
public void setThrowable(Throwable throwable)
- Parameters:
throwable
- The throwable to set.
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.