Package mops.businesslogic.exception
Class DatabaseDuplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- mops.exception.MopsException
-
- mops.businesslogic.exception.DatabaseException
-
- mops.businesslogic.exception.DatabaseDuplicationException
-
- All Implemented Interfaces:
java.io.Serializable
public class DatabaseDuplicationException extends DatabaseException
Is thrown if an entry already exists.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseDuplicationException(java.lang.String message)
Is thrown if the an entry already exists.DatabaseDuplicationException(java.lang.String message, java.lang.Exception exception)
Is thrown if the an entry already exists.
-
-
-
Constructor Detail
-
DatabaseDuplicationException
public DatabaseDuplicationException(java.lang.String message)
Is thrown if the an entry already exists.- Parameters:
message
- error message
-
DatabaseDuplicationException
public DatabaseDuplicationException(java.lang.String message, java.lang.Exception exception)
Is thrown if the an entry already exists.- Parameters:
message
- error messageexception
- the wrapped exception
-
-