What it is
It solves the following problem:
How to list all the exceptions generated by your application without modyfing its code.
How to use
- Install Node.js (any modern version is ok);
- Run your app with verbose classloading:
java -verbose:class ...
; - Redirect or copy output of your app into a separate text file;
- Run
node java-exception-list.js input.txt ouput.txt true
- First parameter is an ouput of your app
- Second parameter is a file to be created
- Third parameter is true|false - wether you should get plain or fully qualified class names
- PROFIT
License
Universal Permissive License 1.0, as described in LICENSE.txt