public interface HandleCallback<T>
DBI.withHandle(HandleCallback)
Modifier and Type | Method and Description |
---|---|
T |
withHandle(Handle handle)
Will be invoked with an open Handle.
|
T withHandle(Handle handle) throws Exception
CallbackFailedException
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.