public abstract class VoidHandleCallback extends Object implements HandleCallback<Void>
HandleCallback
that doesn't return a result.Constructor and Description |
---|
VoidHandleCallback() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
execute(Handle handle)
withHandle(org.skife.jdbi.v2.Handle) will delegate to this method. |
Void |
withHandle(Handle handle)
This implementation delegates to
execute(org.skife.jdbi.v2.Handle) . |
protected abstract void execute(Handle handle) throws Exception
withHandle(org.skife.jdbi.v2.Handle)
will delegate to this method.handle
- Handle to be used only within scope of this callbackException
- will result in a CallbackFailedException
wrapping
the exception being thrownpublic final Void withHandle(Handle handle) throws Exception
execute(org.skife.jdbi.v2.Handle)
.withHandle
in interface HandleCallback<Void>
handle
- Handle to be used only within scope of this callbackException
- will result in a CallbackFailedException
wrapping
the exception being thrownCopyright © 2018. All rights reserved.