public static class SqlExceptionHelper.StandardWarningHandler extends SqlExceptionHelper.WarningHandlerLoggingSupport
| Constructor and Description | 
|---|
SqlExceptionHelper.StandardWarningHandler(String introMessage)
Creates a StandardWarningHandler 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
doProcess()
Should processing be done? Allows short-circuiting if not. 
 | 
protected void | 
logWarning(String description,
          String message)
Delegate to log common details of a  
warning | 
void | 
prepare(SQLWarning warning)
Prepare for processing of a  
warning stack. | 
handleWarningpublic SqlExceptionHelper.StandardWarningHandler(String introMessage)
introMessage - The introduction message for the hierarchypublic boolean doProcess()
SqlExceptionHelper.WarningHandlerpublic void prepare(SQLWarning warning)
SqlExceptionHelper.WarningHandlerwarning stack.
 
 Note that the warning here is also the first passed to SqlExceptionHelper.WarningHandler.handleWarning(java.sql.SQLWarning)warning - The first warning in the stack.protected void logWarning(String description, String message)
SqlExceptionHelper.WarningHandlerLoggingSupportwarninglogWarning in class SqlExceptionHelper.WarningHandlerLoggingSupportdescription - A description of the warningmessage - The warning messageCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.