public class NoFineFoundException
extends java.lang.Exception
FineDAO.| Constructor and Description |
|---|
NoFineFoundException(Client client)
Constructs an exception to be thrown when trying to retrieve client's fines
but no fine can be found.
|
NoFineFoundException(int fineId)
Constructs an exception to be thrown when trying to retrieve a fine using
it's ID but no fine with this ID can be found.
|
public NoFineFoundException(int fineId)
fineId - the fine ID used to try to retrieve the finepublic NoFineFoundException(Client client)
client - the client