Using JVMTI for exception monitoring a JAVA App.

hi all,

I am using the JVMTI interface to build a tool for monitoring the exceptions thrown by a JAVA app. I am able to display the class and the method that throws the exception but unable to display the actual exception thrown.

How can u use the jobject exception in the event data structure to display the exception class being thrown?

Will appreciate any help .. thanks

- Amar

[411 byte] By [AmarAgrawala] at [2007-10-2 20:36:03]
# 1
Are you just looking for the type? If so, then JNI's GetObjectClass will give you the exception type.
alan.batemana at 2007-7-13 23:19:16 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...