Tracking java exceptions by hooking into the JVM
<p>Yourkit's got a pretty neat feature that will basically track any exceptions being thrown in the JVM. I was wondering how they did that.  Specifically, I'd like the ability check a log file and see how many and what exceptions are being thrown.  Obviously logging seems like it can play a part here, but I'm really looking for a solution that doesn't require any work by developers.  </p>

<p>Is there a way to hook into the JVM via jmx or by using a custom javaagent? </p>

<p>Thanks!</p>
