Package org.eclipse.jdt.debug.core
Enum IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy
- java.lang.Object
-
- java.lang.Enum<IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy>
-
- org.eclipse.jdt.debug.core.IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy>
- Enclosing interface:
- IJavaExceptionBreakpoint
public static enum IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy extends Enum<IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy>
Constants for telling the debugger for each exception breakpoint how to handle multiple occurrences of the same exception instance, which can happen via re-throwing or multiple finally clauses in the call stack.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RECURRENCE_UNCONFIGURED
Signals that this setting has not yet been configured for a given breakpointSKIP_RECURRENCES
Signals that the breakpoint should not cause suspending more than once.SUSPEND_ALWAYS
Signals that the exception breakpoint should always cause suspending.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECURRENCE_UNCONFIGURED
public static final IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy RECURRENCE_UNCONFIGURED
Signals that this setting has not yet been configured for a given breakpoint
-
SUSPEND_ALWAYS
public static final IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy SUSPEND_ALWAYS
Signals that the exception breakpoint should always cause suspending.
-
SKIP_RECURRENCES
public static final IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy SKIP_RECURRENCES
Signals that the breakpoint should not cause suspending more than once. This does not influence the way how the debugger reacts to uncaught exceptions.
-
-
Method Detail
-
values
public static IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy c : IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IJavaExceptionBreakpoint.SuspendOnRecurrenceStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-