Class DuplicateClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
bank.client.ClientException
bank.client.DuplicateClientException
- All Implemented Interfaces:
Serializable
This exception represents a duplicate client problem.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ClientException
getNumberMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateClientException
- Parameters:
number- the client numbername- the client name
-
-
Method Details
-
getHolderName
- Returns:
- the holder name
-