Package net.solarnetwork.dao.jdbc
Interface SQLExceptionHandler
public interface SQLExceptionHandler
A handler for SQL exceptions.
- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionvoidHandle an exception triggered on an active Connection.voidHandle an exception triggered when a connection cannot be obtained.
-
Method Details
-
handleGetConnectionException
Handle an exception triggered when a connection cannot be obtained.- Parameters:
e- The exception to handle.
-
handleConnectionException
Handle an exception triggered on an active Connection.- Parameters:
conn- TheConnectionthe exception occurred on.e- The exception.
-