public class JDIEventSet
extends java.util.EventObject
Modifier and Type | Class and Description |
---|---|
static class |
JDIEventSet.Type |
Modifier and Type | Method and Description |
---|---|
com.sun.jdi.Location |
getCatchLocation()
Gets the location where the exception will be caught.
|
java.lang.String |
getClassName()
Returns the name of the class that has been unloaded.
|
java.lang.String |
getClassSignature()
Returns the JNI-style signature of the class that has been unloaded.
|
com.sun.jdi.ObjectReference |
getException()
Gets the thrown exception object.
|
com.sun.jdi.Field |
getField()
Returns the field that is about to be accessed/modified.
|
com.sun.jdi.Location |
getLocation()
Returns the
Location of this mirror. |
com.sun.jdi.ObjectReference |
getObject()
Returns the object whose field is about to be accessed/modified.
|
com.sun.jdi.ReferenceType |
getReferenceType()
Returns the reference type for which this event was generated.
|
com.sun.jdi.ThreadReference |
getThread()
Returns the thread in which this event has occurred.
|
JDIEventSet.Type |
getType()
Returns the type.
|
com.sun.jdi.Value |
getValueCurrent()
Current value of the field.
|
com.sun.jdi.Value |
getValueToBe()
Value that will be assigned to the field when the instruction completes.
|
boolean |
suspendedAll()
Returns the policy used to suspend threads in the target VM for this event set.
|
java.lang.String |
toString()
Standard toString implementation.
|
public JDIEventSet.Type getType()
public 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 com.sun.jdi.Value getValueToBe()
public com.sun.jdi.ThreadReference getThread()
ThreadReference
which mirrors the event's thread in the target VM.public com.sun.jdi.Location getLocation()
Location
of this mirror. Depending on context and on available debug information, this
location will have varying precision.Location
of this mirror.public com.sun.jdi.ReferenceType getReferenceType()
ReferenceType
which mirrors the class, interface, or array which has been linked.public java.lang.String getClassName()
public java.lang.String getClassSignature()
public com.sun.jdi.Field getField()
Field
which mirrors the field in the target VM.public com.sun.jdi.ObjectReference getObject()
ObjectReference
which mirrors the event's object in the target VM.public com.sun.jdi.Value getValueCurrent()
public boolean suspendedAll()
public java.lang.String toString()
toString
in class java.util.EventObject