java throw exception again code example
Example: Can we rethrow the same exception from catch handler
Yes we can rethrow the same exception from our catch handler.
If we want to rethrow checked exception from a catch block we need to declare
that exception.