public class RequestSendFailedException extends EJBException
EJBReceivers if the receiver couldn't successfully handle a request. If
this exception is received, the outcome of the request is unknown (and possible retries have also failed indeterminately).| Constructor and Description |
|---|
RequestSendFailedException()
Constructs a new
RequestSendFailedException instance. |
RequestSendFailedException(boolean canBeRetried)
Constructs a new
RequestSendFailedException instance. |
RequestSendFailedException(String msg)
Constructs a new
RequestSendFailedException instance with an initial message. |
RequestSendFailedException(String message,
boolean canBeRetried)
Constructs a new
RequestSendFailedException instance with an initial message. |
RequestSendFailedException(String msg,
Throwable cause)
Constructs a new
RequestSendFailedException instance with an initial message and cause. |
RequestSendFailedException(String message,
Throwable cause,
boolean canBeRetried)
Constructs a new
RequestSendFailedException instance with an initial message and cause. |
RequestSendFailedException(Throwable cause)
Constructs a new
RequestSendFailedException instance with an initial cause. |
RequestSendFailedException(Throwable cause,
boolean canBeRetried)
Constructs a new
RequestSendFailedException instance with an initial cause. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeRetried()
Determine if this request can safely be retried.
|
RequestSendFailedException |
setCanBeRetried(boolean canBeRetried)
Set the "can be retried" flag.
|
getCausedByExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RequestSendFailedException()
RequestSendFailedException instance. The message is left blank (null), and no
cause is specified.public RequestSendFailedException(String msg)
RequestSendFailedException instance with an initial message. No cause is specified.msg - the messagepublic RequestSendFailedException(Throwable cause)
RequestSendFailedException instance with an initial cause. If a non-null cause
is specified, its message is used to initialize the message of this RequestSendFailedException; otherwise
the message is left blank (null).cause - the causepublic RequestSendFailedException(String msg, Throwable cause)
RequestSendFailedException instance with an initial message and cause.msg - the messagecause - the causepublic RequestSendFailedException(boolean canBeRetried)
RequestSendFailedException instance. The message is left blank (null), and no
cause is specified.canBeRetried - the value of the can-be-retried flagpublic RequestSendFailedException(String message, boolean canBeRetried)
RequestSendFailedException instance with an initial message. No cause is specified.message - the messagecanBeRetried - the value of the can-be-retried flagpublic RequestSendFailedException(String message, Throwable cause, boolean canBeRetried)
RequestSendFailedException instance with an initial message and cause.message - the messagecause - the causecanBeRetried - the value of the can-be-retried flagpublic RequestSendFailedException(Throwable cause, boolean canBeRetried)
RequestSendFailedException instance with an initial cause. If a non-null cause
is specified, its message is used to initialize the message of this RequestSendFailedException; otherwise
the message is left blank (null).cause - the causecanBeRetried - the value of the can-be-retried flagpublic boolean canBeRetried()
true if the request can safely be retried; false otherwisepublic RequestSendFailedException setCanBeRetried(boolean canBeRetried)
canBeRetried - the flag valueCopyright © 2018 JBoss by Red Hat. All rights reserved.