Class LoginSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- io.rtdi.appcontainer.databaseloginrealm.LoginSQLException
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<java.lang.Throwable>
public class LoginSQLException extends java.sql.SQLExceptionA SQLException that contains the sql string and extends the message with the sql details. It substitutes the SQLException with this exception rather than throwing a new exception with the cause being the SQLException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoginSQLException(java.lang.String message, java.sql.SQLException clonefrom, java.lang.String sql)LoginSQLException(java.sql.SQLException clonefrom, java.lang.String sql)
-
Method Summary
Modifier and Type Method Description java.lang.StringgetSQL()-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-