data
Class RecordNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by data.RecordNotFoundException
All Implemented Interfaces:
Serializable

public class RecordNotFoundException
extends Exception

A custom exception that is thrown when searching the database and the record does not exit.

See Also:
Serialized Form

Constructor Summary
RecordNotFoundException()
          Shows a default message when the record is not found
RecordNotFoundException(String message)
          Shows a specific message when the record is not found
 
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

RecordNotFoundException

public RecordNotFoundException()
Shows a default message when the record is not found


RecordNotFoundException

public RecordNotFoundException(String message)
Shows a specific message when the record is not found

Parameters:
message - message to be passed