Class ReplyRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
org.springframework.integration.handler.ReplyRequiredException
- All Implemented Interfaces:
java.io.Serializable
public class ReplyRequiredException
extends org.springframework.messaging.MessagingException
Exception that indicates no reply message is produced by a handler
that does have a value of true for the 'requiresReply' property.
- Since:
- 2.1
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, java.lang.String description)ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, java.lang.String description, java.lang.Throwable t) -
Method Summary
Methods inherited from class org.springframework.messaging.MessagingException
getFailedMessage, toStringMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
-
Constructor Details
-
ReplyRequiredException
public ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, java.lang.String description)- Parameters:
failedMessage- the failed message.description- the description.
-
ReplyRequiredException
public ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, java.lang.String description, java.lang.Throwable t)- Parameters:
failedMessage- the failed message.description- the description.t- the root cause.- Since:
- 4.3
-