Documente Academic
Documente Profesional
Documente Cultură
Throwable
+ Throwable(String message)
+ getMessage(): String
+ printStackTrace():void
Error Exception
if (anAmount>balance)
throw new InsuffientFundsException("Not enough cash");
}
Defining Your Own Exceptions