1

When we use "throws" keyword, how an exception is handles and who handles it for us.

  • This exceptions will be handled in higher level of your application or in application which use library method throws exception – alex valuiskyi Aug 29 '19 at 18:57

1 Answers1

2

When you use a throws keyword it delegates handling of the Exception to whoever is calling method. They need to handle in a try-catch or re-throw the Exception.

Nicholas Hirras
  • 2,592
  • 2
  • 20
  • 27