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.
Charting our own course
- 14
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Tony Roy
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.
+1