data
Class RecordNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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