public class ErrorMessage extends GenericMessage<Throwable>
GenericMessage
with a Throwable
payload.MessageBuilder
,
Serialized FormConstructor and Description |
---|
ErrorMessage(Throwable payload)
Create a new message with the given payload.
|
ErrorMessage(Throwable payload,
Map<String,Object> headers)
Create a new message with the given payload and headers.
|
equals, getHeaders, getPayload, hashCode, toString
public ErrorMessage(Throwable payload)
payload
- the message payload, never null