Class LoginSQLException

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<java.lang.Throwable>

    public class LoginSQLException
    extends java.sql.SQLException
    A 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.String getSQL()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • LoginSQLException

        public LoginSQLException​(java.lang.String message,
                                 java.sql.SQLException clonefrom,
                                 java.lang.String sql)
      • LoginSQLException

        public LoginSQLException​(java.sql.SQLException clonefrom,
                                 java.lang.String sql)
    • Method Detail

      • getSQL

        public java.lang.String getSQL()