Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-06-25 07:05:22 +0000
committereutarass2008-06-25 07:05:22 +0000
commit22448ad8dad9f5ef72c65700bfaf86913effb051 (patch)
tree3fca405069460163eaa4c4cb7f7c1a237dc42769 /docs/TCF Service - File System.html
parentb975e7bbc93133f35a5bc31747e2c7e30f5c2d5d (diff)
downloadorg.eclipse.tcf-22448ad8dad9f5ef72c65700bfaf86913effb051.tar.gz
org.eclipse.tcf-22448ad8dad9f5ef72c65700bfaf86913effb051.tar.xz
org.eclipse.tcf-22448ad8dad9f5ef72c65700bfaf86913effb051.zip
Bug 232410: [tcf][api] TCF needs standard way to define agent error codes
Diffstat (limited to 'docs/TCF Service - File System.html')
-rw-r--r--docs/TCF Service - File System.html37
1 files changed, 4 insertions, 33 deletions
diff --git a/docs/TCF Service - File System.html b/docs/TCF Service - File System.html
index dd10042bb..9ccef52aa 100644
--- a/docs/TCF Service - File System.html
+++ b/docs/TCF Service - File System.html
@@ -160,51 +160,22 @@ Tools and targets can define additional attributes. Predefined attributes are:</
<p>The service uses standard format for error reports,
see <a href='TCF Services.html#ErrorFormat'>Error Report Format</a>.</p>
-<p>Currently, the following values are defined for error code (other values may be
+<p>Currently, the following values are defined for service specific error codes (other values may be
defined by future versions of this protocol):</p>
<dl>
- <dt><code>STATUS_OK = 0</code>
- <dd>Indicates successful completion of the operation.
-
- <dt><code>STATUS_EOF = 1</code>
+ <dt><code>EOF = 0x10001</code>
<dd>Indicates end-of-file condition; for 'read' it means that no
more data is available in the file, and for 'readdir' it
indicates that no more files are contained in the directory.
- <dt><code>STATUS_NO_SUCH_FILE = 2</code>
+ <dt><code>NO_SUCH_FILE = 0x10002</code>
<dd>This code is returned when a reference is made to a file which
should exist but doesn't.
- <dt><code>STATUS_PERMISSION_DENIED = 3</code>
+ <dt><code>PERMISSION_DENIED = 0x10003</code>
<dd>is returned when the authenticated user does not have sufficient
permissions to perform the operation.
-
- <dt><code>STATUS_FAILURE = 4</code>
- <dd>is a generic catch-all error message; it should be returned if an
- error occurs for which there is no more specific error code.
-
- <dt><code>STATUS_BAD_MESSAGE = 5</code>
- <dd>may be returned if a badly formatted packet or protocol
- incompatibility is detected.
-
- <dt><code>STATUS_NO_CONNECTION = 6</code>
- <dd>is a pseudo-error which indicates that the client has no
- connection to the server (it can only be generated locally by the
- client, and MUST NOT be returned by servers).
-
- <dt><code>STATUS_CONNECTION_LOST = 7</code>
- <dd>is a pseudo-error which indicates that the connection to the
- server has been lost (it can only be generated locally by the
- client, and MUST NOT be returned by servers).
-
- <dt><code>STATUS_OP_UNSUPPORTED = 8</code>
- <dd>indicates that an attempt was made to perform an operation which
- is not supported for the server (it may be generated locally by
- the client if e.g. the version number exchange indicates that a
- required feature is not supported by the server, or it may be
- returned by the server if the server does not implement an
- operation).
</dl>
<h2><a name='Cmds'>Commands</a></h2>

Back to the top