9- Throwing Exceptions
4:41
2 Høyttalere
1 Kapitler
105 segmenter
Høyttalere
Kapitler
-
0:03Kapittel 1: So far we've only been handling or catching exceptions, but sometimes we want to throw an exception. 275s · Speaker 2
So far we've only been handling or catching exceptions, but sometimes we want to throw an exception. Let me show you an example. So in this package, the exceptions package, I'm going to add a new class called account. Here we need a method …