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
Constructors Constructor Description DefaultFailureContinuation(Object oSource)
Create a new DefaultFailureContinuation for the given exception source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
proceed(Throwable e)
Resume the execution after the completion of an asynchronous call.
-
-
-
Constructor Detail
-
DefaultFailureContinuation
public DefaultFailureContinuation(Object oSource)
Create a new DefaultFailureContinuation for the given exception source.- Parameters:
oSource
- the object that threw the exception
-
-
Method Detail
-
proceed
public void proceed(Throwable e)
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
-
-