|
||||||||||
| 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.RelocateFailureException
public class RelocateFailureException
An exception that indicates a relocation request failed. The getMessage method returns a detail message
containing an explanation for the failure, the getReason method returns the failure reason, and if the failure reason
is RelocateFailureException.FailureReason.OTHER, the getCause
method returns the possibly-null cause of the failure.
| Nested Class Summary | |
|---|---|
static class |
RelocateFailureException.FailureReason
Reasons why a relocation fails. |
| Constructor Summary | |
|---|---|
RelocateFailureException(String message,
RelocateFailureException.FailureReason reason)
Constructs an instance with the specified detail message
and reason. |
|
RelocateFailureException(String message,
Throwable cause)
Constructs an instance with the specified detail message
and cause. |
|
| Method Summary | |
|---|---|
RelocateFailureException.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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RelocateFailureException(String message,
RelocateFailureException.FailureReason reason)
message
and reason.
message - a detail message, or nullreason - a failure reason
public RelocateFailureException(String message,
Throwable cause)
message
and cause.
message - a detail message, or nullcause - the cause of this exception, or null| Method Detail |
|---|
public RelocateFailureException.FailureReason getReason()
RelocateFailureException.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 | |||||||||