Class DaoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.JesacaLin.GrubGoblin_v13.exception.DaoException
- All Implemented Interfaces:
Serializable
This exception is thrown when there is an error in the data access layer.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new DaoException with null as its detail message.DaoException
(String message) Constructs a new DaoException with the specified detail message.DaoException
(String message, Exception cause) Constructs a new DaoException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DaoException
public DaoException()Constructs a new DaoException with null as its detail message. -
DaoException
Constructs a new DaoException with the specified detail message.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
-
DaoException
Constructs a new DaoException with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-