Package mops.businesslogic.exception
Class DatabaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- mops.exception.MopsException
-
- mops.businesslogic.exception.DatabaseException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DatabaseDuplicationException
public class DatabaseException extends MopsException
Throws if something went wrong with fetching information from the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseException(java.lang.String message)Throws if something went wrong with fetching information from the database.DatabaseException(java.lang.String message, java.lang.Throwable cause)Throws if something went wrong with fetching information from the database.
-
-
-
Constructor Detail
-
DatabaseException
public DatabaseException(java.lang.String message)
Throws if something went wrong with fetching information from the database.- Parameters:
message- explanation of the error
-
DatabaseException
public DatabaseException(java.lang.String message, java.lang.Throwable cause)Throws if something went wrong with fetching information from the database.- Parameters:
message- explanation of the errorcause- wrapped exception
-
-