Spring Integration

org.springframework.integration.message
Class ErrorMessage

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

public class ErrorMessage
extends GenericMessage<Throwable>

A message implementation that accepts a Throwable payload.

Author:
Mark Fisher, Oleg Zhurakousky
See Also:
Serialized Form

Constructor Summary
ErrorMessage(Throwable payload)
           
ErrorMessage(Throwable payload, Map<String,Object> headers)
           
 
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(Throwable payload)

ErrorMessage

public ErrorMessage(Throwable payload,
                    Map<String,Object> headers)

Spring Integration

Copyright © 2010. All Rights Reserved.