data
Class DuplicateIndexException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
DuplicateIndexException()
          Initialize the default error message when thrown
DuplicateIndexException(String message)
          Set a customer error message when thrown
 
Method Summary
 
Methods inherited from class
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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