|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.sgs.protocol.RequestFailureException
public class RequestFailureException
An exception indicating that processing a request has failed, and
therefore that request has been dropped. The getMessage method returns a detail message
containing an explanation for the failure (possibly null), the getReason method returns the
failure reason, and if the failure reason is RequestFailureException.FailureReason.OTHER, the getCause
method returns the possibly-null cause of the failure.
| Nested Class Summary | |
|---|---|
static class |
RequestFailureException.FailureReason
Reasons why a request fails. |
| Constructor Summary | |
|---|---|
RequestFailureException(String message,
RequestFailureException.FailureReason reason)
Constructs an instance with the specified detail message
and reason. |
|
RequestFailureException(String message,
Throwable cause)
Constructs an instance with the specified detail message
and cause. |
|
| Method Summary | |
|---|---|
RequestFailureException.FailureReason |
getReason()
Returns a failure reason. |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestFailureException(String message,
RequestFailureException.FailureReason reason)
message
and reason.
message - a detail message, or nullreason - a reason why the request failed
public RequestFailureException(String message,
Throwable cause)
message
and cause.
message - a detail message, or nullcause - the cause of this exception, or null| Method Detail |
|---|
public RequestFailureException.FailureReason getReason()
RequestFailureException.FailureReason.OTHER, then the cause may
contain an exception that caused the failure.
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||