Package org.eclipse.debug.core
Class DebugException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.core.runtime.CoreException
-
- org.eclipse.debug.core.DebugException
-
- All Implemented Interfaces:
Serializable
public class DebugException extends CoreException
A checked exception representing a failure.Defines status codes relevant to the debug plug-in. When a debug exception is thrown, it contains a status object describing the cause of the exception. The status objects originating from the debug plug-in use the codes defined in this class.
- See Also:
IStatus
, Serialized Form- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONFIGURATION_INVALID
Indicates an improperly configured breakpoint.static int
INTERNAL_ERROR
Indicates an internal error.static int
MISSING_LAUNCH_CONFIGURATION_TYPE
Indicates a launch configuration could not be restored because its launch configuration type definition is missing.static int
NOT_SUPPORTED
Indicates a request is not supported by the capabilities of a debug element.static int
REQUEST_FAILED
Indicates that a request made of manager has failed, or a request made of a debug element has failed on the client side (that is, before the request was sent to the debug target).static int
TARGET_REQUEST_FAILED
Indicates a request made of a debug element has failed on the target side.
-
Constructor Summary
Constructors Constructor Description DebugException(IStatus status)
Constructs a new debug exception with the given status object.
-
Method Summary
-
Methods inherited from class org.eclipse.core.runtime.CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Field Detail
-
TARGET_REQUEST_FAILED
public static final int TARGET_REQUEST_FAILED
Indicates a request made of a debug element has failed on the target side.- See Also:
- Constant Field Values
-
NOT_SUPPORTED
public static final int NOT_SUPPORTED
Indicates a request is not supported by the capabilities of a debug element. For example, a request was made to terminate an element that does not support termination.- See Also:
- Constant Field Values
-
REQUEST_FAILED
public static final int REQUEST_FAILED
Indicates that a request made of manager has failed, or a request made of a debug element has failed on the client side (that is, before the request was sent to the debug target).- See Also:
- Constant Field Values
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
Indicates an internal error. This is an unexpected state.- See Also:
- Constant Field Values
-
CONFIGURATION_INVALID
public static final int CONFIGURATION_INVALID
Indicates an improperly configured breakpoint. Breakpoints have a minimal set of required attributes as defined by the breakpoint manager.- See Also:
IBreakpointManager
, Constant Field Values
-
MISSING_LAUNCH_CONFIGURATION_TYPE
public static final int MISSING_LAUNCH_CONFIGURATION_TYPE
Indicates a launch configuration could not be restored because its launch configuration type definition is missing.- Since:
- 3.0
- See Also:
- Constant Field Values
-
-