org.springframework.integration.message
Class ErrorMessage

java.lang.Object
  extended by org.springframework.integration.message.GenericMessage<java.lang.Throwable>
      extended by org.springframework.integration.message.ErrorMessage
All Implemented Interfaces:
java.io.Serializable, Message<java.lang.Throwable>

public class ErrorMessage
extends GenericMessage<java.lang.Throwable>

A message implementation that accepts a Throwable payload.

Author:
Mark Fisher
See Also:
Serialized Form

Constructor Summary
ErrorMessage(java.lang.Throwable payload)
           
 
Method Summary
 
Methods inherited from class org.springframework.integration.message.GenericMessage
equals, getHeaders, getPayload, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorMessage

public ErrorMessage(java.lang.Throwable payload)