com.poscoict.glueframework.dao
Class GlueDaoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.poscoict.glueframework.GlueException
                  extended by com.poscoict.glueframework.dao.GlueDaoException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GlueBadSqlGrammarException, GlueDataAccessResourceFailureException, GlueDataIntegrityViolationException, GlueUncategorizedSQLException

public class GlueDaoException
extends GlueException

Data Access Object(DAO) °ü·Ã ExceptionÀÌ ¹ß»ýÇßÀ» ¶§ ¾²·Î¿ì µÈ´Ù.

See Also:
Serialized Form

Constructor Summary
GlueDaoException(String msg)
          »ý¼ºÀÚ(constructor).
GlueDaoException(String msg, Throwable cause)
          »ý¼ºÀÚ(constructor).
 
Method Summary
 int getErrorCode()
          Database Error Code¸¦ ¾ò´Â´Ù.
 String getSql()
          SQL Query Statement¸¦ ¾ò´Â´Ù.
 void setErrorCode(int errorCode)
          Database Error Code¸¦ ¼³Á¤ÇÑ´Ù.
 void setSql(String sql)
          SQL Query Statement¸¦ ¼³Á¤ÇÑ´Ù.
 
Methods inherited from class com.poscoict.glueframework.GlueException
getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlueDaoException

public GlueDaoException(String msg)
»ý¼ºÀÚ(constructor).

Parameters:
msg -

GlueDaoException

public GlueDaoException(String msg,
                        Throwable cause)
»ý¼ºÀÚ(constructor).

Parameters:
msg -
cause -
Method Detail

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


Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.