|
Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference E14011-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception oracle.sdp.messaging.ListenerException
public class ListenerException
ListenerException is used in the signature of the Listener
callback API. If an onMessage or onStatus callback cannot be completed successfully,
the implementer of the Listener may throw a ListenerException.
If the ListenerException.isRetriable is true, then delivery of the message or status
may be retried. Otherwise delivery of the message or status will be aborted and
a failure status will be generated where appropriate.
Constructor Summary | |
---|---|
ListenerException()
Construct a ListenerException. |
|
ListenerException(java.lang.String message)
Construct a ListenerException with a message. |
|
ListenerException(java.lang.String message,
boolean retriable)
Construct a ListenerException with a message and a flag indicating whether delivery of the message or status should be retried or not. |
Method Summary | |
---|---|
boolean |
isRetriable()
Return an indicator of whether the operation that led to the exception should be retried or not. |
void |
setRetriable(boolean retriable)
Set the retriable flag for this exception after construction. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ListenerException()
ListenerException(String, boolean)
to indicate that
delivery should not be retried.
message
- public ListenerException(java.lang.String message)
ListenerException(String, boolean)
to indicate that
delivery should not be retried.
message
- public ListenerException(java.lang.String message, boolean retriable)
message
- retriable
- Method Detail |
---|
public boolean isRetriable()
public void setRetriable(boolean retriable)
retriable
-
|
Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference E14011-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |