Adding info to an exception
- by NoozNooz42
I'd like to add information to a stack trace/exception.
Basically I've got something like this as of now, which I really like:
Exception in thread "main" java.lang.ArithmeticException: / by zero
at com.so.main(SO.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at…