Catching checked exceptions

  • 5
  • Locked
  • Exercise
Lessons at the secret CodeGym center have taught us that if a ClassNotFoundException or FileNotFoundException are thrown (occur) in a method, then the programmer is simply obligated to indicate them in the method signature. These are checked exceptions. Let's handle them in the handleExceptions method and display them on the screen.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet