|
|
You use these methods when a SQLException object has been created.
sqlexception.getErrorCode()
Returns the error code from the vendor.
sqlexception.getMessage()
Inherited from Throwable, this methods returns the message string for Throwable.
sqlexception.getNextException()
Returns the next SQLException or null if there is none.
sqlexception.getSQLState()
Returns a SQLState identifier.
sqlexception.printStackTrace(PrintStream s)
Inherited from the Throwable class, this method prints the stack trace to the standard error stream.
setNextException(sqlexception e)
Adds a SQLException.
|
|