Please enable JavaScript.
Coggle requires JavaScript to display documents.
05
Exceptions (Best practice
guidelines (Don't catch unless you can…
05
Exceptions
-
-
-
-
Best practice
guidelines
-
Reserve exceptions for truly unexpected situations
e.g. not just for bad user input (that's expected)
-
-
-
Labs
Bank accounts
(throw exceptions in constructor,
deposit and withdraw methods)
-
-
-
-