org.jbpm.logging.db
Class JDBCExceptionReporter.WarningHandlerLoggingSupport
java.lang.Object
org.jbpm.logging.db.JDBCExceptionReporter.WarningHandlerLoggingSupport
- All Implemented Interfaces:
- JDBCExceptionReporter.WarningHandler
- Direct Known Subclasses:
- JDBCExceptionReporter.StandardWarningHandler
- Enclosing class:
- JDBCExceptionReporter
public abstract static class JDBCExceptionReporter.WarningHandlerLoggingSupport
- extends Object
- implements JDBCExceptionReporter.WarningHandler
Basic support for JDBCExceptionReporter.WarningHandler implementations which log
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCExceptionReporter.WarningHandlerLoggingSupport
public JDBCExceptionReporter.WarningHandlerLoggingSupport()
handleWarning
public final void handleWarning(SQLWarning warning)
- Description copied from interface:
JDBCExceptionReporter.WarningHandler
- Handle an individual warning in the stack.
- Specified by:
handleWarning in interface JDBCExceptionReporter.WarningHandler
- Parameters:
warning - The warning to handle.
logWarning
protected abstract void logWarning(String description,
String message)
- Delegate to log common details of a
warning
- Parameters:
description - A description of the warningmessage - The warning message
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.