Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/IDsfStatusConstants.java')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/IDsfStatusConstants.java75
1 files changed, 37 insertions, 38 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/IDsfStatusConstants.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/IDsfStatusConstants.java
index 40f5ddedd5c..35e7c0d2e10 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/IDsfStatusConstants.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/IDsfStatusConstants.java
@@ -7,56 +7,55 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* Wind River Systems - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.dsf.concurrent;
-
/**
- * Interface that hold the codes used when reporting status using the DSF
- * Request Monitor.
+ * Interface that hold the codes used when reporting status using the DSF
+ * Request Monitor.
* <p>
* The error codes are ordered by severity so that clients can filter error
- * reporting using these codes. E.g. <code>getStatus().getCode() > INVALID_HANDLE</code>
- * can be used to filter out errors resulting from expected race conditions.
+ * reporting using these codes. E.g. <code>getStatus().getCode() > INVALID_HANDLE</code>
+ * can be used to filter out errors resulting from expected race conditions.
* </p>
* @since 1.0
*/
public interface IDsfStatusConstants {
- /**
- * Error code indicating that the service is in a state which does not allow the
- * request to be processed. For example if the client requested target information
- * after target was disconnected.
- */
- final static int INVALID_STATE = 10001;
-
- /**
- * Error code indicating that client supplied an invalid handle to the service.
- * A handle could become invalid after an object it represents is removed from
- * the system.
- * <p>
- * Note this code should not be used when a handle is of a wrong type.
- * That would be an incorrect use of an interface, i.e. an {@link #INTERNAL_ERROR}.
- * </p>
- */
- final static int INVALID_HANDLE = 10002;
-
- /**
- * Error code indicating that the client request is not supported/implemented.
- */
- final static int NOT_SUPPORTED = 10003;
-
- /**
- * Error code indicating that the request to a sub-service or an external process
- * failed.
- */
- final static int REQUEST_FAILED = 10004;
+ /**
+ * Error code indicating that the service is in a state which does not allow the
+ * request to be processed. For example if the client requested target information
+ * after target was disconnected.
+ */
+ final static int INVALID_STATE = 10001;
+
+ /**
+ * Error code indicating that client supplied an invalid handle to the service.
+ * A handle could become invalid after an object it represents is removed from
+ * the system.
+ * <p>
+ * Note this code should not be used when a handle is of a wrong type.
+ * That would be an incorrect use of an interface, i.e. an {@link #INTERNAL_ERROR}.
+ * </p>
+ */
+ final static int INVALID_HANDLE = 10002;
+
+ /**
+ * Error code indicating that the client request is not supported/implemented.
+ */
+ final static int NOT_SUPPORTED = 10003;
+
+ /**
+ * Error code indicating that the request to a sub-service or an external process
+ * failed.
+ */
+ final static int REQUEST_FAILED = 10004;
- /**
- * Error code indicating an unexpected condition in the service, i.e. programming error.
- */
- final static int INTERNAL_ERROR = 10005;
+ /**
+ * Error code indicating an unexpected condition in the service, i.e. programming error.
+ */
+ final static int INTERNAL_ERROR = 10005;
}

Back to the top