|
||||||||||
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.ObjectIOException
public class ObjectIOException
Thrown when an operation fails because of an I/O failure when attempting to
access a managed object. Typically the exception returned by the
getCause
method will be the IOException
that caused the failure.
Constructor Summary | |
---|---|
ObjectIOException(String message,
boolean shouldRetry)
Creates an instance of this class with the specified detail message and whether an operation that throws this exception should be retried. |
|
ObjectIOException(String message,
Throwable cause,
boolean shouldRetry)
Creates an instance of this class with the specified detail message, the cause, and whether an operation that throws this exception should be retried. |
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 ObjectIOException(String message, boolean shouldRetry)
message
- the detail message or null
shouldRetry
- whether an operation that throws this exception
should be retriedpublic ObjectIOException(String message, Throwable cause, boolean shouldRetry)
message
- the detail message or null
cause
- the cause or null
shouldRetry
- whether an operation that throws this exception
should be retriedMethod Detail |
---|
public boolean shouldRetry()
This implementation returns the value that was specified for the
shouldRetry
parameter in the constructor.
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 |