1 7 34 35 package com.sun.tools.example.debug.event; 36 37 import com.sun.jdi.*; 38 import com.sun.jdi.event.*; 39 40 public class ExceptionEventSet extends LocatableEventSet { 41 42 ExceptionEventSet(EventSet jdiEventSet) { 43 super(jdiEventSet); 44 } 45 46 54 public ObjectReference getException() { 55 return ((ExceptionEvent)oneEvent).exception(); 56 } 57 58 83 public Location getCatchLocation() { 84 return ((ExceptionEvent)oneEvent).catchLocation(); 85 } 86 87 public void notify(JDIListener listener) { 88 listener.exception(this); 89 } 90 } 91 92 | Popular Tags |