25
Creating Exception Classes
•
You can create your own exception
classes by deriving them from the
Exception
class or one of its derived
classes.
•
Text example:
–
BankAccount.java
–
NegativeStartingBalance.java
–
AccountTest.java