com.ibatis.common.jdbc.exception

Class NestedSQLException

public class NestedSQLException extends SQLException

Class to allow passing an Exception with the original SQLException
Constructor Summary
NestedSQLException(String msg)
Constructor from java.sql.SQLException
NestedSQLException(String reason, String SQLState)
Constructor from java.sql.SQLException
NestedSQLException(String reason, String SQLState, int vendorCode)
Constructor from java.sql.SQLException
NestedSQLException(String msg, Throwable cause)
Constructor from java.sql.SQLException with added nested exception
NestedSQLException(String reason, String SQLState, Throwable cause)
Constructor from java.sql.SQLException with added nested exception
NestedSQLException(String reason, String SQLState, int vendorCode, Throwable cause)
Constructor from java.sql.SQLException with added nested exception
NestedSQLException(Throwable cause)
Constructor from java.sql.SQLException with added nested exception

Constructor Detail

NestedSQLException

public NestedSQLException(String msg)
Constructor from java.sql.SQLException

Parameters: msg - the message for the exception

See Also: java.sql.SQLException

NestedSQLException

public NestedSQLException(String reason, String SQLState)
Constructor from java.sql.SQLException

Parameters: reason - the reason for the exception SQLState - the SQLState

See Also: java.sql.SQLException

NestedSQLException

public NestedSQLException(String reason, String SQLState, int vendorCode)
Constructor from java.sql.SQLException

Parameters: reason - the reason for the exception SQLState - the SQLState vendorCode - a vendor supplied code to go w/ the message

See Also: java.sql.SQLException

NestedSQLException

public NestedSQLException(String msg, Throwable cause)
Constructor from java.sql.SQLException with added nested exception

Parameters: msg - the message for the exception cause - the cause of the exception

NestedSQLException

public NestedSQLException(String reason, String SQLState, Throwable cause)
Constructor from java.sql.SQLException with added nested exception

Parameters: reason - the reason for the exception SQLState - the SQLState cause - the cause of the exception

See Also: java.sql.SQLException

NestedSQLException

public NestedSQLException(String reason, String SQLState, int vendorCode, Throwable cause)
Constructor from java.sql.SQLException with added nested exception

Parameters: reason - the reason for the exception SQLState - the SQLState vendorCode - a vendor supplied code to go w/ the message cause - the cause of the exception

NestedSQLException

public NestedSQLException(Throwable cause)
Constructor from java.sql.SQLException with added nested exception

Parameters: cause - the cause of the exception

Copyright © 2011. All Rights Reserved.