Looking for automatic error reporting package for Java

I’m looking for a Java library that will automate exception reporting, like IDEA and Firefox do. For example, if somewhere in my application, an important or unusual exception is thrown, I’d like an automated way to ask the user if he or she wants to automatically report the exception to me through some kind of e-mail or (preferably) web-based service.

I can’t seem to find anything like this, so if you know of anything, please leave a comment below. Thanks.

2 Responses to “Looking for automatic error reporting package for Java”

  1. Brian Miller Says:

    JavaMail is the only error reporting framework I need.

  2. Guy Davis Says:

    Hi, I’m looking for an existing library to handle this as well. Ideally, I would catch all Exceptions and RuntimeExceptions in my app’s main(). In the exception handler, I would pass the exception to a GUI componenent like the “Windows Error Reporting” tool in WinXP. This dialog would display the exception message, let them see the stacktrace as a “More details” option. It would also let them click ‘Send Report’ which would bundle up the exception details along with any relevant system information such as OS, Java version, etc and mail or http post it off to our site.

    Did you have any luck finding such a utility? It wouldn’t be that hard to build one, but this would seem like a common component for many Java apps so I’m surprised no one has released a generic tool for it.

Leave a Reply