AjaxStepGit commented on issue #7249:
URL: https://github.com/apache/gravitino/issues/7249#issuecomment-2908783459

   Since FilesetPathNotFoundException is a subtype of IOException, Java allows 
you to catch it specifically before the broader catch
   
   Specific Handling :-
   
   } catch (FilesetPathNotFoundException e) {
     throw e;
   } catch (IOException e) {
     throw e;
   }
   
   
   Or if you don’t want to differentiate them (since both are rethrown as-is), 
then:
   
   } catch (IOException e) {
     throw e;
   }
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to