public interface IJavaExceptionBreakpoint extends IJavaBreakpoint
SUSPEND_THREAD, SUSPEND_VM
BREAKPOINT_MARKER, ENABLED, ID, LINE_BREAKPOINT_MARKER, PERSISTED, REGISTERED
Modifier and Type | Method and Description |
---|---|
String |
getExceptionTypeName()
Returns the fully qualified type name of the exception that last caused
this breakpoint to suspend, of
null if this breakpoint has
not caused a thread to suspend. |
String[] |
getExclusionFilters()
Returns the exclusive filters that define the scope for the associated
exception.
|
String[] |
getFilters()
Deprecated.
Use getExclusionFilters() or getInclusionFilters()
|
String[] |
getInclusionFilters()
Returns the inclusive filters that define the scope for the associated
exception.
|
boolean |
isCaught()
Returns whether this breakpoint suspends execution when the associated
exception is thrown in a caught location (in a try/catch statement).
|
boolean |
isChecked()
Returns whether the exception associated with this breakpoint is a
checked exception (compiler detected).
|
boolean |
isInclusiveFiltered()
Deprecated.
Exception breakpoints can have a mixed set of filters and
this method is maintained strictly for API backwards
compatibility
|
boolean |
isUncaught()
Returns whether this breakpoint suspends execution when the associated
exception is thrown in an uncaught location (not caught by a try/catch
statement).
|
void |
setCaught(boolean caught)
Sets whether this breakpoint suspends execution when the associated
exception is thrown in a caught location (in a try/catch statement).
|
void |
setExclusionFilters(String[] filters)
Sets the exclusion filters that will define the scope for the associated
exception.
|
void |
setFilters(String[] filters,
boolean inclusive)
Deprecated.
Exception breakpoints can have a mixed set of filters. Use
setInclusiveFilters(String[] filters) or
setExclusiveFilters(String[] filters)
|
void |
setInclusionFilters(String[] filters)
Sets the inclusion filters that will define the scope for the associated
exception.
|
void |
setUncaught(boolean uncaught)
Sets whether this breakpoint suspends execution when the associated
exception is thrown in an uncaught location.
|
addBreakpointListener, addInstanceFilter, getBreakpointListeners, getHitCount, getInstanceFilters, getSuspendPolicy, getThreadFilter, getThreadFilters, getTypeName, isInstalled, removeBreakpointListener, removeInstanceFilter, removeThreadFilter, setHitCount, setSuspendPolicy, setThreadFilter, supportsInstanceFilters, supportsThreadFilters
delete, getMarker, getModelIdentifier, isEnabled, isPersisted, isRegistered, setEnabled, setMarker, setPersisted, setRegistered
getAdapter
void setInclusionFilters(String[] filters) throws CoreException
filters
- the array of filters to applyCoreException
- if unable to set the property on this breakpoint's
underlying markerString[] getInclusionFilters() throws CoreException
CoreException
- if unable to access the property on this breakpoint's
underlying markerboolean isCaught() throws CoreException
true
if this is a caught exception breakpointCoreException
- if unable to access the property from this breakpoint's
underlying markerboolean isUncaught() throws CoreException
true
if this is an uncaught exception breakpoint.CoreException
- if unable to access the property from this breakpoint's
underlying markervoid setCaught(boolean caught) throws CoreException
caught
- whether or not this breakpoint suspends execution when the
associated exception is thrown in a caught locationCoreException
- if unable to set the property on this breakpoint's
underlying markervoid setUncaught(boolean uncaught) throws CoreException
uncaught
- whether or not this breakpoint suspends execution when the
associated exception is thrown in an uncaught locationCoreException
- if unable to set the property on this breakpoint's
underlying markerboolean isChecked() throws CoreException
true
if the exception associated with this
breakpoint is a checked exceptionCoreException
- if unable to access the property from this breakpoint's
underlying markerString getExceptionTypeName()
null
if this breakpoint has
not caused a thread to suspend. Note that this name may be a sub type of
the exception that this breakpoint is associated with.null
@Deprecated void setFilters(String[] filters, boolean inclusive) throws CoreException
filters
- the array of filters to applyinclusive
- whether or not to apply the filters as inclusive or exclusiveCoreException
- if unable to set the property on this breakpoint's
underlying markervoid setExclusionFilters(String[] filters) throws CoreException
filters
- the array of filters to applyCoreException
- if unable to set the property on this breakpoint's
underlying marker@Deprecated String[] getFilters() throws CoreException
CoreException
- if unable to access the property on this breakpoint's
underlying markerString[] getExclusionFilters() throws CoreException
CoreException
- if unable to access the property on this breakpoint's
underlying marker@Deprecated boolean isInclusiveFiltered() throws CoreException
true
if the inclusive filters have been appliedCoreException
- if unable to access the property on this breakpoint's
underlying marker
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.