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. |
handleWarningpublic StandardWarningHandler(String introMessage)
public boolean doProcess()
JDBCExceptionReporter.WarningHandlerpublic void prepare(SQLWarning warning)
JDBCExceptionReporter.WarningHandlerwarning 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.WarningHandlerLoggingSupportwarninglogWarning in class JDBCExceptionReporter.WarningHandlerLoggingSupportdescription - A description of the warningmessage - The warning messageCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved