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
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:
- Restriction:
- This class is not intended to be subclassed by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Indicates an improperly configured breakpoint.static final int
Indicates an internal error.static final int
Indicates a launch configuration could not be restored because its launch configuration type definition is missing.static final int
Indicates a request is not supported by the capabilities of a debug element.static final int
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 final int
Indicates a request made of a debug element has failed on the target side. -
Constructor Summary
ConstructorDescriptionDebugException
(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 Details
-
TARGET_REQUEST_FAILED
public static final int TARGET_REQUEST_FAILEDIndicates a request made of a debug element has failed on the target side.- See Also:
-
NOT_SUPPORTED
public static final int NOT_SUPPORTEDIndicates 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:
-
REQUEST_FAILED
public static final int REQUEST_FAILEDIndicates 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:
-
INTERNAL_ERROR
public static final int INTERNAL_ERRORIndicates an internal error. This is an unexpected state.- See Also:
-
CONFIGURATION_INVALID
public static final int CONFIGURATION_INVALIDIndicates an improperly configured breakpoint. Breakpoints have a minimal set of required attributes as defined by the breakpoint manager.- See Also:
-
MISSING_LAUNCH_CONFIGURATION_TYPE
public static final int MISSING_LAUNCH_CONFIGURATION_TYPEIndicates a launch configuration could not be restored because its launch configuration type definition is missing.- Since:
- 3.0
- See Also:
-
-
Constructor Details
-
DebugException
Constructs a new debug exception with the given status object.- Parameters:
status
- the status object describing this exception- See Also:
-