Spring Integration

org.springframework.integration.core
Class ErrorMessage

java.lang.Object
  extended by org.springframework.integration.core.GenericMessage<Throwable>
      extended by org.springframework.integration.core.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.core.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.