public class NoClientFoundException
extends java.lang.Exception
ClientDAO
.Constructor and Description |
---|
NoClientFoundException(int clientId)
Constructs an exception to be thrown when trying to retrieve a client using
it's client ID but that no client with the given client ID can be found.
|
NoClientFoundException(java.lang.String cardID)
Constructs an exception to be thrown when trying to retrieve a client using
it's card ID but that no client with the given card ID can be found.
|
public NoClientFoundException(int clientId)
clientId
- the client ID used to try to retrieve the clientpublic NoClientFoundException(java.lang.String cardID)
cardID
- the card ID used to try to retrieve the client