Does not provide a way to transmit checked exceptions but provides a special exception that should be used to wrap any exception that was thrown by the underlying invocation. Callers are expected to handle this issue type specifically.
| Modifier and Type | Class and Description |
|---|---|
| public static class | CacheOperationInvoker.ThrowableWrapper
Wrap any exception thrown while invoking |
| Modifier and Type | Method and Description |
|---|---|
| public Object |
| invoke | back to summary |
|---|---|
| public Object invoke() throws ThrowableWrapper Invoke the cache operation defined by this instance. Wraps any exception
that is thrown during the invocation in a
| |
invoke().
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable |
| original | back to summary |
|---|---|
| private final Throwable original | |
| ThrowableWrapper | back to summary |
|---|---|
| public ThrowableWrapper(Throwable original) | |
| getOriginal | back to summary |
|---|---|
| public Throwable getOriginal() | |