📅  最后修改于: 2022-03-11 15:00:15.854000             🧑  作者: Mango
I am using static block, as soon as Configuration
class is loaded I will be able to get the path
and connect to the properties file, ready to
retrieve the desired value from properties
file using get method.
Try and Catch Block:
In this process fileInputStream object
creation might throw an IOException,
in order to handle this exception I
implement try and catch block.
I also use in my DBUtilities class
for handling SQL exceptions.