public class ExceptionEventSet extends LocatableEventSet
| Modifier and Type | Method and Description | 
|---|---|
| com.sun.jdi.Location | getCatchLocation()Gets the location where the exception will be caught. | 
| com.sun.jdi.ObjectReference | getException()Gets the thrown exception object. | 
| void | notify(JDIListener listener) | 
getLocation, getThreadadd, addAll, clear, contains, containsAll, eventIterator, getSuspendPolicy, getVirtualMachine, isEmpty, iterator, remove, removeAll, resume, retainAll, size, suspendedAll, suspendedEventThread, suspendedNone, suspendPolicy, toArray, toArray, toSpecificEventSet, virtualMachinepublic com.sun.jdi.ObjectReference getException()
ObjectReference which mirrors the thrown object in
 the target VM.public com.sun.jdi.Location getCatchLocation()
If there are native methods in the call stack at the time of the exception, there are important restrictions to note about the returned catch location. In such cases, it is not possible to predict whether an exception will be handled by some native method on the call stack. Thus, it is possible that exceptions considered uncaught here will, in fact, be handled by a native method and not cause termination of the target VM. Also, it cannot be assumed that the catch location returned here will ever be reached by the throwing thread. If there is a native frame between the current location and the catch location, the exception might be handled and cleared in that native method instead.
Location where the exception will be caught or null if
 the exception is uncaught.public void notify(JDIListener listener)
notify in class AbstractEventSet