public static class SqlExceptionHelper.StandardWarningHandler extends SqlExceptionHelper.WarningHandlerLoggingSupport
| Constructor and Description |
|---|
SqlExceptionHelper.StandardWarningHandler(String introMessage) |
| 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)
public 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 © 2018 JBoss by Red Hat. All rights reserved.