Package edu.ntnu.stud.utils.exceptions
Class DbConnectionErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.ntnu.stud.utils.exceptions.DbConnectionErrorException
- All Implemented Interfaces:
Serializable
Exception thrown when there is an error connecting to the database.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbConnectionErrorException
(String message, Throwable cause) Constructs a new DbConnectionErrorException 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
-
DbConnectionErrorException
Constructs a new DbConnectionErrorException with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by the getMessage() method).cause
- the cause (which is saved for later retrieval by the getCause() method).
-