DAOException

public class DAOException extends hk.hku.cecid.piazza.commons.GenericException

DAOException is a class representing the exception related to or thrown in the DAO framework.

Author:Hugo Y. K. Lam

Constructors

DAOException

public DAOException()

Creates a new DAOException.

DAOException

public DAOException(String message)

Creates a new instance of DAOException.

Parameters:
  • message – the error message.

DAOException

public DAOException(Throwable cause)

Creates a new instance of DAOException.

Parameters:
  • cause – the cause of this exception.

DAOException

public DAOException(String message, Throwable cause)

Creates a new instance of DAOException.

Parameters:
  • message – the error message.
  • cause – the cause of this exception.