I have an own Exception class, called UserException. It inherits from Exception and has nothing but the constructor with message texts overloaded.
When I use this, the following StackTrace is generated:
de.ikoffice.errorhandling.UserException: Fehlermeldung
at de.ikoffice.errorhandling.UserException.fillInStackTrace(UserException.java:50001)
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at java.lang.RuntimeException.<init>(RuntimeException.java:43)
at de.ikoffice.errorhandling.UserException.<init>(UserException.java:21)
at de.ikoffice.gui.reportviewer.IKReportViewer$$M$2d1fe1f3.openReport(IKReportViewer.java:1289)
... more lines ...
As far as I would guess, only the last line should be found in the stack trace. I didn't overload the fillInStacktrace()-function in UserException.
