org.mule.example.errorhandler
Class ErrorMessage

java.lang.Object
  extended by org.mule.example.errorhandler.ErrorMessage

public class ErrorMessage
extends Object

The ErrorMessage represents an exception.


Constructor Summary
ErrorMessage()
           
ErrorMessage(ExceptionBean exception)
           
ErrorMessage(Throwable exception)
           
ErrorMessage(Throwable exception, Map<Object,Object> props)
           
 
Method Summary
 ExceptionBean getException()
           
 Map<Object,Object> getProperties()
           
 Throwable getThrowable()
           
 void setException(ExceptionBean exception)
           
 void setProperties(Map<Object,Object> properties)
           
 void setThrowable(Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorMessage

public ErrorMessage()

ErrorMessage

public ErrorMessage(ExceptionBean exception)
             throws InstantiationException
Throws:
InstantiationException

ErrorMessage

public ErrorMessage(Throwable exception)

ErrorMessage

public ErrorMessage(Throwable exception,
                    Map<Object,Object> props)
Method Detail

getException

public ExceptionBean getException()

setException

public void setException(ExceptionBean exception)
                  throws InstantiationException
Throws:
InstantiationException

getProperties

public Map<Object,Object> getProperties()

setProperties

public void setProperties(Map<Object,Object> properties)

getThrowable

public Throwable getThrowable()

setThrowable

public void setThrowable(Throwable throwable)


Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.