IExceptionBreakPoint Interface

com.bea.ide.debug
IExceptionBreakPoint Interface

public interface IExceptionBreakPoint

    extends IDebugBreakPoint

This interface defines a breakpoint that gets fired when an exception of a certain type, or one of its subclasses, is thrown.


All Superinterfaces
IDebugBreakPoint, Serializable

Nested Class Summary

 
Nested classes from interface com.bea.ide.debug.IDebugBreakPoint
IDebugBreakPoint.IBreakpointContext
 

Field Summary

   
Fields from interface com.bea.ide.debug.IDebugBreakPoint
BP_PROP_CONDITION, INVALID_ID, PROP_ERROR_MESSAGE
 

Method Summary

public String
getExceptionClass()
Gets the class of the exception being thrown.
public boolean
isCaught()
Whether the breakpoint should be fired for exceptions that will be caught and dealt with by the program.
public boolean
isUncaught()
Whether the breakpoint should be fired for exceptions that will not be caught and dealt with by the program.
 
Methods from interface com.bea.ide.debug.IDebugBreakPoint
breakpointHit, clearBreakpoint, disable, getErrorMessage, getId, getProperties, getProperty, isDisabled, isValid, setErrorMessage, setId, setProperties, setProperty, supportsProperty, syncBreakpoint
   

Method Detail

getExceptionClass() Method

public String getExceptionClass()
Gets the class of the exception being thrown.

Returns

class name for exceptions on which to break. That class and all of its subclasses will cause the debugger to hit a break point.

isCaught() Method

public boolean isCaught()
Whether the breakpoint should be fired for exceptions that will be caught and dealt with by the program.

Returns

true if exceptions caught by the target program will cause the debugger to stop false if exceptions caught by the target program will not cause the debugger to stop.

isUncaught() Method

public boolean isUncaught()
Whether the breakpoint should be fired for exceptions that will not be caught and dealt with by the program.

Returns

true if exceptions not caught by the target program will cause the debugger to stop false if exceptions not caught by the target program will not cause the debugger to stop.