9- Throwing Exceptions
4:41
2 Głośniki
1 Rozdziały
105 segmenty
Głośniki
Rozdziały
-
0:03Rozdział 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 …