Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

handling exceptions

I use try & catch & finally block
to handle exception if I will use the method
in different class.

Or If I will use it only once and if it is checked
exception then I use THROWS keyword on method signature
Source by reflectoring.io #
 
PREVIOUS NEXT
Tagged: #handling #exceptions
ADD COMMENT
Topic
Name
7+7 =