Class GlueDaoException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GlueBadSqlGrammarException, GlueDataAccessResourceFailureException, GlueDataIntegrityViolationException, GlueUncategorizedSQLException

public class GlueDaoException extends GlueException
Data Access Object(DAO) 관련 Exception이 발생했을 때 쓰로우 된다.
See Also:
  • Constructor Details

    • GlueDaoException

      public GlueDaoException(String msg)
      생성자(constructor).
      Parameters:
      msg -
    • GlueDaoException

      public GlueDaoException(String msg, Throwable cause)
      생성자(constructor).
      Parameters:
      msg -
      cause -
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Database Error Code를 얻는다.
      Returns:
      Error Code
    • setErrorCode

      public void setErrorCode(int errorCode)
      Database Error Code를 설정한다.
      Parameters:
      errorCode - Error Code
    • getSql

      public String getSql()
      SQL Query Statement를 얻는다.
      Returns:
      SQL Query Statement
    • setSql

      public void setSql(String sql)
      SQL Query Statement를 설정한다.
      Parameters:
      sql - SQL Query Statement