Class 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:
Restriction:
This class is not intended to be subclassed by clients.
  • Field Details

    • 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:
    • 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:
    • 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:
    • INTERNAL_ERROR

      public static final int INTERNAL_ERROR
      Indicates an internal error. This is an unexpected state.
      See Also:
    • 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:
    • 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:
  • Constructor Details

    • DebugException

      public DebugException(IStatus status)
      Constructs a new debug exception with the given status object.
      Parameters:
      status - the status object describing this exception
      See Also: