Catching checked exceptions

  • 5
  • Locked
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.