Ice 3.9
Slice API Reference
Loading...
Searching...
No Matches
ReplyStatus.ice
1// Copyright (c) ZeroC, Inc.
2
3#pragma once
4
5[["cpp:dll-export:ICE_API"]]
6[["cpp:doxygen:include:Ice/Ice.h"]]
7[["cpp:header-ext:h"]]
8
9[["cpp:no-default-include"]]
10[["cpp:include:Ice/Config.h"]]
11[["cpp:include:Ice/StreamHelpers.h"]]
12
13[["js:module:@zeroc/ice"]]
14
15#ifdef __ICERPC__
16// In IceRPC, ReplyStatus is an internal implementation detail of the Ice protocol; the corresponding generated code is
17// not publicly visible.
18["cs:identifier:IceRpc.Internal"]
19#endif
20["java:identifier:com.zeroc.Ice"]
21module Ice
22{
23 /// Represents the status of a reply.
24 /// A reply status can have any value in the range 0..255. Do not use this enum to marshal or unmarshal a reply
25 /// status unless you know its value corresponds to one of the enumerators defined below.
26 #ifdef __ICERPC__
27 ["cs:internal"]
28 #endif
30 {
31 /// The dispatch completed successfully.
32 ["swift:identifier:ok"]
33 Ok = 0,
34
35 /// The dispatch completed with a Slice user exception.
36 ["swift:identifier:userException"]
38
39 /// The dispatch could not find an implementation for the target object.
40 ["swift:identifier:objectNotExist"]
42
43 /// The dispatch found an implementation for the target object but could not find the requested facet.
44 ["swift:identifier:facetNotExist"]
46
47 /// The dispatch found an implementation for the target object but could not find the requested operation.
48 ["swift:identifier:operationNotExist"]
50
51 /// The dispatch failed with an Ice local exception.
52 ["swift:identifier:unknownLocalException"]
54
55 /// The dispatch failed with a Slice user exception that does not conform to the exception specification of
56 /// the operation.
57 ["swift:identifier:unknownUserException"]
59
60 /// The dispatch failed with some other exception (neither an Ice local exception nor a Slice user exception).
61 ["swift:identifier:unknownException"]
63
64 /// The dispatch failed because the request payload could not be unmarshaled. It is typically due to a mismatch
65 /// in the Slice definitions used by the client and the server.
66 ["swift:identifier:invalidData"]
68
69 /// The caller is not authorized to access the requested resource.
70 ["swift:identifier:unauthorized"]
72 }
73}
ReplyStatus
Represents the status of a reply.
@ InvalidData
The dispatch failed because the request payload could not be unmarshaled.
@ Ok
The dispatch completed successfully.
@ OperationNotExist
The dispatch found an implementation for the target object but could not find the requested operation...
@ UserException
The dispatch completed with a Slice user exception.
@ ObjectNotExist
The dispatch could not find an implementation for the target object.
@ UnknownLocalException
The dispatch failed with an Ice local exception.
@ FacetNotExist
The dispatch found an implementation for the target object but could not find the requested facet.
@ UnknownException
The dispatch failed with some other exception (neither an Ice local exception nor a Slice user except...
@ Unauthorized
The caller is not authorized to access the requested resource.
@ UnknownUserException
The dispatch failed with a Slice user exception that does not conform to the exception specification ...
The Ice RPC framework.