public static class JDBCExceptionReporter.StandardWarningHandler extends JDBCExceptionReporter.WarningHandlerLoggingSupport
Constructor and Description |
---|
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. |
handleWarning
public StandardWarningHandler(String introMessage)
public boolean doProcess()
JDBCExceptionReporter.WarningHandler
public void prepare(SQLWarning warning)
JDBCExceptionReporter.WarningHandler
warning
stack.
Note that the warning here is also the first passed to JDBCExceptionReporter.WarningHandler.handleWarning(java.sql.SQLWarning)
warning
- The first warning in the stack.protected void logWarning(String description, String message)
JDBCExceptionReporter.WarningHandlerLoggingSupport
warning
logWarning
in class JDBCExceptionReporter.WarningHandlerLoggingSupport
description
- A description of the warningmessage
- The warning messageCopyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved