Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
bank.client.ClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateClientException, NoSuchClientException
Basic exception class for holder-related problems. Should not be instantiated
directly (thus, the abstract qualifier).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientException
public ClientException(int number) - Parameters:
number-
-
-
Method Details
-
getNumber
public int getNumber()- Returns:
- the holder number.
-