public class JdbcException extends ProviderException
Constructor and Description |
---|
JdbcException(java.lang.String message) |
JdbcException(java.lang.String message,
java.lang.String sql) |
JdbcException(java.lang.String message,
java.lang.Throwable cause) |
JdbcException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String sql) |
JdbcException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String sql,
java.util.List<?> parameters) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getNativeException()
This method should be overriden by providers relying on external APIs to work with connections.
|
java.lang.String |
getProviderName()
Overriden by subclasses to provide user friendly provider name.
|
protected void |
initVendorCodes(java.lang.Throwable t) |
addErrorCode, getErrorCodes, getErrorStatement, setErrorStatement, toString
public JdbcException(java.lang.String message)
public JdbcException(java.lang.String message, java.lang.Throwable cause)
public JdbcException(java.lang.String message, java.lang.Throwable cause, java.lang.String sql, java.util.List<?> parameters)
public JdbcException(java.lang.String message, java.lang.Throwable cause, java.lang.String sql)
public JdbcException(java.lang.String message, java.lang.String sql)
protected void initVendorCodes(java.lang.Throwable t)
public java.lang.Throwable getNativeException()
ProviderException
Examples: SQL Exceptions, LDAP connection exceptions etc.
getNativeException
in class ProviderException
public java.lang.String getProviderName()
ProviderException
getProviderName
in class ProviderException
Copyright © Copyright 2006-2019 The Scriptella Project Team.