org.mule.example.errorhandler
Class ErrorMessage
java.lang.Object
org.mule.example.errorhandler.ErrorMessage
public class ErrorMessage
- extends java.lang.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 java.lang.InstantiationException
- Throws:
java.lang.InstantiationException
ErrorMessage
public ErrorMessage(java.lang.Throwable exception)
ErrorMessage
public ErrorMessage(java.lang.Throwable exception,
java.util.Map props)
getException
public ExceptionBean getException()
- Returns:
- Returns the exception.
setException
public void setException(ExceptionBean exception)
throws java.lang.InstantiationException
- Parameters:
exception
- The exception to set.
- Throws:
java.lang.InstantiationException
getProperties
public java.util.Map getProperties()
- Returns:
- Returns the properties.
setProperties
public void setProperties(java.util.Map properties)
- Parameters:
properties
- The properties to set.
getThrowable
public java.lang.Throwable getThrowable()
- Returns:
- Returns the throwable.
setThrowable
public void setThrowable(java.lang.Throwable throwable)
- Parameters:
throwable
- The throwable to set.
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.