public class JdbcException extends ProviderException
| Constructor and Description |
|---|
JdbcException(String message) |
JdbcException(String message,
String sql) |
JdbcException(String message,
Throwable cause) |
JdbcException(String message,
Throwable cause,
String sql) |
JdbcException(String message,
Throwable cause,
String sql,
List<?> parameters) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getNativeException()
This method should be overriden by providers relying on external APIs to work with connections.
|
String |
getProviderName()
Overriden by subclasses to provide user friendly provider name.
|
protected void |
initVendorCodes(Throwable t) |
addErrorCode, getErrorCodes, getErrorStatement, setErrorStatement, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic JdbcException(String message)
protected void initVendorCodes(Throwable t)
public Throwable getNativeException()
ProviderExceptionExamples: SQL Exceptions, LDAP connection exceptions etc.
getNativeException in class ProviderExceptionpublic String getProviderName()
ProviderExceptiongetProviderName in class ProviderExceptionCopyright © 2006-2012. All Rights Reserved.