Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ExceptionEventImpl.java')
-rw-r--r--org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ExceptionEventImpl.java29
1 files changed, 16 insertions, 13 deletions
diff --git a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ExceptionEventImpl.java b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ExceptionEventImpl.java
index 6df8e3786..feeeae7c8 100644
--- a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ExceptionEventImpl.java
+++ b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/event/ExceptionEventImpl.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.jdi.internal.event;
-
import java.io.DataInputStream;
import java.io.IOException;
@@ -25,12 +24,12 @@ import com.sun.jdi.ObjectReference;
import com.sun.jdi.event.ExceptionEvent;
/**
- * this class implements the corresponding interfaces
- * declared by the JDI specification. See the com.sun.jdi package
- * for more information.
- *
+ * this class implements the corresponding interfaces declared by the JDI
+ * specification. See the com.sun.jdi package for more information.
+ *
*/
-public class ExceptionEventImpl extends LocatableEventImpl implements ExceptionEvent {
+public class ExceptionEventImpl extends LocatableEventImpl implements
+ ExceptionEvent {
/** Jdwp Event Kind. */
public static final byte EVENT_KIND = EVENT_EXCEPTION;
@@ -45,18 +44,22 @@ public class ExceptionEventImpl extends LocatableEventImpl implements ExceptionE
private ExceptionEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) {
super("ExceptionEvent", vmImpl, requestID); //$NON-NLS-1$
}
-
+
/**
- * @return Creates, reads and returns new EventImpl, of which requestID has already been read.
+ * @return Creates, reads and returns new EventImpl, of which requestID has
+ * already been read.
*/
- public static ExceptionEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException {
+ public static ExceptionEventImpl read(MirrorImpl target,
+ RequestID requestID, DataInputStream dataInStream)
+ throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
ExceptionEventImpl event = new ExceptionEventImpl(vmImpl, requestID);
event.readThreadAndLocation(target, dataInStream);
- event.fException = ObjectReferenceImpl.readObjectRefWithTag(target, dataInStream);
+ event.fException = ObjectReferenceImpl.readObjectRefWithTag(target,
+ dataInStream);
event.fCatchLocation = LocationImpl.read(target, dataInStream);
return event;
- }
+ }
/**
* @return Returns the location where the exception will be caught.
@@ -64,9 +67,9 @@ public class ExceptionEventImpl extends LocatableEventImpl implements ExceptionE
public Location catchLocation() {
return fCatchLocation;
}
-
+
/**
- * @return Returns the thrown exception object.
+ * @return Returns the thrown exception object.
*/
public ObjectReference exception() {
return fException;

Back to the top