|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.sgs.app.ResourceUnavailableException
public class ResourceUnavailableException
Thrown when an operation fails because a resource, necessary for the operation, is unavailable.
Constructor Summary | |
---|---|
ResourceUnavailableException(String message)
Creates an instance of this class with the specified detail message. |
|
ResourceUnavailableException(String message,
Throwable cause)
Creates an instance of this class with the specified detail message and cause. |
Method Summary | |
---|---|
boolean |
shouldRetry()
Provides information about whether an operation that threw this exception should be retried. |
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 ResourceUnavailableException(String message)
message
- the detail message or null
public ResourceUnavailableException(String message, Throwable cause)
message
- the detail message or null
cause
- the cause or null
Method Detail |
---|
public boolean shouldRetry()
This implementation always returns true
.
shouldRetry
in interface ExceptionRetryStatus
true
if the operation should be retried, else
false
|
Project Darkstar, Version 0.9.9.6 2009-05-08 15:39:40 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |