1 11 package org.eclipse.jdi.internal.request; 12 13 14 import org.eclipse.jdi.internal.VirtualMachineImpl; 15 import org.eclipse.jdi.internal.event.ExceptionEventImpl; 16 17 import com.sun.jdi.ReferenceType; 18 import com.sun.jdi.request.ExceptionRequest; 19 20 26 public class ExceptionRequestImpl extends EventRequestImpl implements ExceptionRequest { 27 30 public ExceptionRequestImpl(VirtualMachineImpl vmImpl) { 31 super("ExceptionRequest", vmImpl); } 33 34 37 public ReferenceType exception() { 38 return ((EventRequestImpl.ExceptionFilter)fExceptionFilters.get(0)).fException; 39 } 40 41 44 public boolean notifyCaught() { 45 return ((EventRequestImpl.ExceptionFilter)fExceptionFilters.get(0)).fNotifyCaught; 46 } 47 48 51 public boolean notifyUncaught() { 52 return ((EventRequestImpl.ExceptionFilter)fExceptionFilters.get(0)).fNotifyUncaught; 53 } 54 55 58 protected final byte eventKind() { 59 return ExceptionEventImpl.EVENT_KIND; 60 } 61 } 62 | Popular Tags |