public abstract static class SqlExceptionHelper.WarningHandlerLoggingSupport extends java.lang.Object implements SqlExceptionHelper.WarningHandler
SqlExceptionHelper.WarningHandler
implementations which handle warnings
Constructor and Description |
---|
WarningHandlerLoggingSupport() |
Modifier and Type | Method and Description |
---|---|
void |
handleWarning(java.sql.SQLWarning warning)
Handle an individual warning in the stack.
|
protected abstract void |
logWarning(java.lang.String description,
java.lang.String message)
Delegate to log common details of a
warning |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doProcess, prepare
public final void handleWarning(java.sql.SQLWarning warning)
SqlExceptionHelper.WarningHandler
handleWarning
in interface SqlExceptionHelper.WarningHandler
warning
- The warning to handle.protected abstract void logWarning(java.lang.String description, java.lang.String message)
warning
description
- A description of the warningmessage
- The warning messageCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.