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:
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:
-
Constructor Summary
ConstructorsConstructorDescriptionReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, String description) ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, String description, Throwable t) -
Method Summary
Methods inherited from class org.springframework.messaging.MessagingException
getFailedMessage, toStringMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ReplyRequiredException
public ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, String description) - Parameters:
failedMessage- the failed message.description- the description.
-
ReplyRequiredException
public ReplyRequiredException(org.springframework.messaging.Message<?> failedMessage, String description, Throwable t) - Parameters:
failedMessage- the failed message.description- the description.t- the root cause.- Since:
- 4.3
-