Charting our own course

  • 14
  • Locked
Implement the UncaughtExceptionHandler interface in the Solution class, which must: 1. Interrupt the thread that threw the exception. 2. Display the exception's stack trace, starting with the innermost exception.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Tony Roy
Level 41 , Victorville, United States
19 April 2020, 16:46
To start by google, check out "exception chaining." You need not appeal to the standard stack trace -- though it may be useful to create a stack of throwable objects.