Package com.tangosol.persistence
Class AbstractPersistenceEnvironment.DefaultFailureContinuation
java.lang.Object
com.tangosol.persistence.AbstractPersistenceEnvironment.DefaultFailureContinuation
- All Implemented Interfaces:
Continuation<Throwable>
- Enclosing class:
AbstractPersistenceEnvironment
public static class AbstractPersistenceEnvironment.DefaultFailureContinuation
extends Object
implements Continuation<Throwable>
Continuation implementation that accepts a Throwable and throws a
PersistenceException. If the provided Throwable is a
PersistenceException, it is thrown as is; otherwise, a wrapper
PersistenceException is thrown.
-
Constructor Summary
ConstructorDescriptionDefaultFailureContinuation
(Object oSource) Create a new DefaultFailureContinuation for the given exception source. -
Method Summary
-
Constructor Details
-
DefaultFailureContinuation
Create a new DefaultFailureContinuation for the given exception source.- Parameters:
oSource
- the object that threw the exception
-
-
Method Details
-
proceed
Resume the execution after the completion of an asynchronous call.- Specified by:
proceed
in interfaceContinuation<Throwable>
- Parameters:
e
- the result of the execution preceding this continuation
-