data
Class DuplicateIndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
data.DuplicateIndexException
- All Implemented Interfaces:
- Serializable
public class DuplicateIndexException
- extends Exception
A custom exception that is thrown whenever a duplicate record is
stored in the database
- See Also:
- Serialized Form
Methods inherited from class |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DuplicateIndexException
public DuplicateIndexException()
- Initialize the default error message when thrown
DuplicateIndexException
public DuplicateIndexException(String message)
- Set a customer error message when thrown
- Parameters:
message
- message to be set