I ran into a little problem today where I have a piece of code like this, which made me a little uncomfortable...
   try{
       //stuff...
   } finally {
       //finally stuff
   }
I wonder if such implementation is a good practice in terms of when an exception occurs in the try and is re-thrown to the caller who handles it. Is this equivalent to the code below?
    try{
        //code....
    } catch (Exception e) {
        //handling...
    } finally {
        //finishing up
    }
 
     
     
    