org.eclipse.emf.cdo.session
Class CDORetryExceptionHandler
java.lang.Object
org.eclipse.emf.cdo.session.CDORetryExceptionHandler
- All Implemented Interfaces:
- CDOSession.ExceptionHandler
public class CDORetryExceptionHandler
- extends java.lang.Object
- implements CDOSession.ExceptionHandler
- Since:
- 2.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RETRY_FOREVER
public static final int RETRY_FOREVER
- See Also:
- Constant Field Values
CDORetryExceptionHandler
public CDORetryExceptionHandler(int retries)
CDORetryExceptionHandler
public CDORetryExceptionHandler()
getRetries
public int getRetries()
isRetryingForever
public boolean isRetryingForever()
handleException
public void handleException(CDOSession session,
int attempt,
java.lang.Exception exception)
throws java.lang.Exception
- Specified by:
handleException in interface CDOSession.ExceptionHandler
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object