Ice 3.6 Slice API Reference
All Classes Interfaces Structs Exceptions Modules Files Operations Constants Sequences Dictionaries Enumerations Enumerator Pages
LocalException.ice
Go to the documentation of this file.
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
9 
10 #pragma once
11 
12 [["cpp:header-ext:h", "objc:header-dir:objc", "js:ice-build"]]
13 
14 #include <Ice/Identity.ice>
15 #include <Ice/Version.ice>
16 #include <Ice/BuiltinSequences.ice>
17 
18 ["objc:prefix:ICE"]
19 module Ice
20 {
21 
27 ["cpp:ice_print"]
28 local exception InitializationException
29 {
35  string reason;
36 };
37 
44 ["cpp:ice_print"]
46 {
52  string reason;
53 };
54 
61 ["cpp:ice_print", "deprecate:This exception is no longer used by the Ice run time"]
63 {
64 };
65 
77 ["cpp:ice_print"]
79 {
87  string kindOfObject;
88 
94  string id;
95 };
96 
111 ["cpp:ice_print"]
112 local exception NotRegisteredException
113 {
121  string kindOfObject;
122 
128  string id;
129 };
130 
141 ["cpp:ice_print"]
142 local exception TwowayOnlyException
143 {
149  string operation;
150 };
151 
163 ["cpp:ice_print"]
165 {
166 };
167 
177 ["cpp:ice_print"]
178 local exception UnknownException
179 {
186  string unknown;
187 };
188 
200 ["cpp:ice_print"]
202 {
203 };
204 
220 ["cpp:ice_print"]
221 local exception UnknownUserException extends UnknownException
222 {
223 };
224 
231 ["cpp:ice_print"]
233 {
234 };
235 
243 ["cpp:ice_print"]
245 {
246 };
247 
257 ["cpp:ice_print"]
259 {
265  string name;
266 };
267 
276 ["cpp:ice_print"]
278 {
284  string id;
285 };
286 
292 ["cpp:ice_print"]
293 local exception NoEndpointException
294 {
301  string proxy;
302 };
303 
310 ["cpp:ice_print"]
311 local exception EndpointParseException
312 {
318  string str;
319 };
320 
327 ["cpp:ice_print"]
329 {
335  string str;
336 };
337 
344 ["cpp:ice_print"]
345 local exception VersionParseException
346 {
352  string str;
353 };
354 
361 ["cpp:ice_print"]
362 local exception IdentityParseException
363 {
369  string str;
370 };
371 
378 ["cpp:ice_print"]
379 local exception ProxyParseException
380 {
386  string str;
387 };
388 
394 ["cpp:ice_print"]
396 {
403 };
404 
411 ["cpp:ice_print"]
412 local exception IllegalServantException
413 {
419  string reason;
420 };
421 
422 
431 ["cpp:ice_print"]
432 local exception RequestFailedException
433 {
436 
438  string facet;
439 
441  string operation;
442 };
443 
450 ["cpp:ice_print"]
452 {
453 };
454 
461 ["cpp:ice_print"]
463 {
464 };
465 
473 ["cpp:ice_print"]
475 {
476 };
477 
486 ["cpp:ice_print"]
487 local exception SyscallException
488 {
498  int error = 0; // Don't use errno, as errno is usually a macro.
499 };
500 
506 ["cpp:ice_print"]
507 local exception SocketException extends SyscallException
508 {
509 };
510 
516 #ifdef ICE_USE_CFSTREAM
517 ["cpp:ice_print"]
518 local exception CFNetworkException extends SocketException
519 {
525  string domain;
526 };
527 #endif
528 
534 ["cpp:ice_print"]
535 local exception FileException extends SyscallException
536 {
538  string path;
539 };
540 
546 ["cpp:ice_print"]
548 {
549 };
550 
557 ["cpp:ice_print"]
559 {
560 };
561 
567 ["cpp:ice_print"]
569 {
570 };
571 
578 ["cpp:ice_print"]
579 local exception DNSException
580 {
589  int error = 0; // Don't use h_errno, as h_errno is usually a macro.
590 
596  string host;
597 };
598 
604 ["cpp:ice_print"]
606 {
607 };
608 
614 ["cpp:ice_print"]
615 local exception TimeoutException
616 {
617 };
618 
624 ["cpp:ice_print"]
626 {
627 };
628 
634 ["cpp:ice_print"]
636 {
637 };
638 
645 ["cpp:ice_print"]
647 {
648 };
649 
656 ["cpp:ice_print"]
658 {
659 };
660 
667 ["cpp:ice_print"]
669 {
670 };
671 
678 ["cpp:ice_print"]
679 local exception ProtocolException
680 {
686  string reason;
687 };
688 
695 ["cpp:ice_print"]
696 local exception BadMagicException extends ProtocolException
697 {
704 };
705 
711 ["cpp:ice_print"]
713 {
720 
727 };
728 
734 ["cpp:ice_print"]
736 {
743 
750 };
751 
757 ["cpp:ice_print"]
759 {
760 };
761 
768 ["cpp:ice_print"]
770 {
771 };
772 
779 ["cpp:ice_print"]
781 {
782 };
783 
789 ["cpp:ice_print"]
791 {
792 };
793 
806 ["cpp:ice_print"]
808 {
809 };
810 
819 ["cpp:ice_print"]
821 {
822 };
823 
830 ["cpp:ice_print"]
832 {
833 };
834 
840 ["cpp:ice_print"]
842 {
843 };
844 
853 ["cpp:ice_print"]
855 {
856 };
857 
863 ["cpp:ice_print"]
864 local exception MarshalException extends ProtocolException
865 {
866 };
867 
873 ["cpp:ice_print"]
875 {
876 };
877 
883 ["cpp:ice_print"]
885 {
886 };
887 
898 ["cpp:ice_print"]
900 {
907  string type;
908 };
909 
921 ["cpp:ice_print"]
923 {
929  string type;
930 
936  string expectedType;
937 };
938 
946 ["cpp:ice_print"]
947 local exception MemoryLimitException extends MarshalException
948 {
949 };
950 
957 ["cpp:ice_print"]
959 {
960 };
961 
962 
968 ["cpp:ice_print"]
970 {
971 };
972 
980 ["cpp:ice_print"]
982 {
989 };
990 
991 
998 ["cpp:ice_print"]
999 local exception SecurityException
1000 {
1006  string reason;
1007 };
1008 
1015 ["cpp:ice_print"]
1016 local exception FixedProxyException
1017 {
1018 };
1019 
1026 ["cpp:ice_print"]
1027 local exception ResponseSentException
1028 {
1029 };
1030 
1031 
1032 };
1033 
string reason
The reason for the failure.
Definition: LocalException.ice:35
This exception is raised if an operation for a given object does not exist on the server...
Definition: LocalException.ice:474
This exception indicates that an unknown reply status has been received.
Definition: LocalException.ice:790
This exception indicates a problem with compressing or uncompressing data.
Definition: LocalException.ice:841
This exception is raised if the type of an unmarshaled Slice class instance does not match its expect...
Definition: LocalException.ice:922
This exception is raised if an unsupported feature is used.
Definition: LocalException.ice:981
string id
Adapter ID.
Definition: LocalException.ice:284
This exception indicates a request was interrupted.
Definition: LocalException.ice:605
Indicates that the response to a request has already been sent; re-dispatching such a request is not ...
Definition: LocalException.ice:1027
string proxy
The stringified proxy for which no suitable endpoint is available.
Definition: LocalException.ice:301
The Ice core library.
Definition: BuiltinSequences.ice:15
This exception is raised when Ice receives a request or reply message whose size exceeds the limit sp...
Definition: LocalException.ice:947
This exception is raised if an operation call on a server raises an unknown exception.
Definition: LocalException.ice:178
string facet
The facet to which the request was sent.
Definition: LocalException.ice:438
A generic exception base for all kinds of protocol error conditions.
Definition: LocalException.ice:679
string str
Describes the failure and includes the string that could not be parsed.
Definition: LocalException.ice:386
This exception is raised if there was an error while parsing an endpoint.
Definition: LocalException.ice:311
string type
The Slice type ID of the class instance that was unmarshaled.
Definition: LocalException.ice:929
string host
The host name that could not be resolved.
Definition: LocalException.ice:596
This exception is raised to reject an illegal servant (typically a null servant)
Definition: LocalException.ice:412
This exception is raised by an operation call if the application forcefully closes the connection Con...
Definition: LocalException.ice:820
string reason
The reason for the failure.
Definition: LocalException.ice:52
Identity id
The identity of the Ice Object to which the request was sent.
Definition: LocalException.ice:435
This exception indicates a connection failure for which the server host actively refuses a connection...
Definition: LocalException.ice:558
This exception is raised if a system error occurred in the server or client process.
Definition: LocalException.ice:487
string reason
Describes why this servant is illegal.
Definition: LocalException.ice:419
This exception is raised if an operation call on a server raises a local exception.
Definition: LocalException.ice:201
Identity id
The illegal identity.
Definition: LocalException.ice:402
This exception indicates that a message size is less than the minimum required size.
Definition: LocalException.ice:831
string id
The ID (or name) of the object that could not be removed.
Definition: LocalException.ice:128
string id
The ID (or name) of the object that is registered already.
Definition: LocalException.ice:94
The identity of an Ice object.
Definition: Identity.ice:28
This exception indicates that a failure occurred while initializing a plug-in.
Definition: LocalException.ice:45
This exception is raised if an illegal identity is encountered.
Definition: LocalException.ice:395
EncodingVersion supported
The version of the encoding that is supported.
Definition: LocalException.ice:749
string kindOfObject
The kind of object that could not be removed: "servant", "servant locator", "object factory"...
Definition: LocalException.ice:121
An attempt was made to clone a class that does not support cloning.
Definition: LocalException.ice:164
This exception is raised if a feature is requested that is not supported with collocation optimizatio...
Definition: LocalException.ice:62
This exception is raised if an attempt is made to use a deactivated ObjectAdapter.
Definition: LocalException.ice:258
This exception indicates that an attempt has been made to change the connection properties of a fixed...
Definition: LocalException.ice:1016
An operation raised an incorrect user exception.
Definition: LocalException.ice:221
A datagram exceeds the configured size.
Definition: LocalException.ice:854
This exception indicates a malformed data encapsulation.
Definition: LocalException.ice:969
This exception indicates an unsupported data encoding version.
Definition: LocalException.ice:735
The operation can only be invoked with a twoway request.
Definition: LocalException.ice:142
string kindOfObject
The kind of object that is registered already: "servant", "servant locator", "object factory"...
Definition: LocalException.ice:87
ProtocolVersion bad
The version of the unsupported protocol.
Definition: LocalException.ice:719
This exception is raised if a message is received over a connection that is not yet validated...
Definition: LocalException.ice:769
ByteSeq badMagic
A sequence containing the first four bytes of the incorrect message.
Definition: LocalException.ice:703
ProtocolVersion supported
The version of the protocol that is supported.
Definition: LocalException.ice:726
string str
Describes the failure and includes the string that could not be parsed.
Definition: LocalException.ice:335
This exception indicates a DNS problem.
Definition: LocalException.ice:579
This exception indicates that an invocation failed because it timed out.
Definition: LocalException.ice:657
This exception indicates a lost connection.
Definition: LocalException.ice:568
This exception is raised if a request failed.
Definition: LocalException.ice:432
This exception is raised when a failure occurs during initialization.
Definition: LocalException.ice:28
This exception is raised when a string conversion to or from UTF-8 fails during marshaling or unmarsh...
Definition: LocalException.ice:958
This exception is raised if no facet with the given name exists, but at least one facet with the give...
Definition: LocalException.ice:462
This exception indicates that an unknown protocol message has been received.
Definition: LocalException.ice:758
string str
Describes the failure and includes the string that could not be parsed.
Definition: LocalException.ice:369
string expectedType
The Slice type ID that was expected by the receiving operation.
Definition: LocalException.ice:936
This exception is raised if the Ice library version does not match the version in the Ice header file...
Definition: LocalException.ice:232
This exception is raised for errors during marshaling or unmarshaling data.
Definition: LocalException.ice:864
This exception is raised if there was an error while parsing a stringified identity.
Definition: LocalException.ice:362
string reason
The reason for the failure.
Definition: LocalException.ice:1006
This exception is raised if no suitable endpoint is available.
Definition: LocalException.ice:293
string unknown
This field is set to the textual representation of the unknown exception if available.
Definition: LocalException.ice:186
This exception is raised if no suitable object factory was found during unmarshaling of a Slice class...
Definition: LocalException.ice:899
This exception indicates a failure in a security subsystem, such as the IceSSL plug-in.
Definition: LocalException.ice:999
This exception is raised if there was an error while parsing a version.
Definition: LocalException.ice:345
An attempt was made to register something more than once with the Ice run time.
Definition: LocalException.ice:78
A version structure for the encoding version.
Definition: Version.ice:34
string str
Describes the failure and includes the string that could not be parsed.
Definition: LocalException.ice:318
This exception indicates a timeout condition.
Definition: LocalException.ice:615
This exception indicates an unsupported protocol version.
Definition: LocalException.ice:712
This exception is raised if inconsistent data is received while unmarshaling a proxy.
Definition: LocalException.ice:874
This exception is raised if an out-of-bounds condition occurs during unmarshaling.
Definition: LocalException.ice:884
This exception indicates that the connection has been gracefully shut down by the server...
Definition: LocalException.ice:807
string type
The Slice type ID of the class instance for which no no factory could be found.
Definition: LocalException.ice:907
This exception indicates that an asynchronous invocation failed because it was canceled explicitly by...
Definition: LocalException.ice:668
This exception indicates that a connection has been shut down because it has been idle for some time...
Definition: LocalException.ice:646
This exception indicates CFNetwork errors.
Definition: LocalException.ice:535
string path
The path of the file responsible for the error.
Definition: LocalException.ice:538
This exception indicates connection failures.
Definition: LocalException.ice:547
This exception is raised if there was an error while parsing an endpoint selection type...
Definition: LocalException.ice:328
This exception is raised if there was an error while parsing a stringified proxy. ...
Definition: LocalException.ice:379
string operation
The name of the operation that was invoked.
Definition: LocalException.ice:149
This exception is raised if the Communicator has been destroyed.
Definition: LocalException.ice:244
A version structure for the protocol version.
Definition: Version.ice:23
This exception is raised if an object does not exist on the server, that is, if no facets with the gi...
Definition: LocalException.ice:451
string operation
The operation name of the request.
Definition: LocalException.ice:441
sequence< byte > ByteSeq
A sequence of bytes.
Definition: BuiltinSequences.ice:22
This exception indicates that a message did not start with the expected magic number (&#39;I&#39;...
Definition: LocalException.ice:696
string str
Describes the failure and includes the string that could not be parsed.
Definition: LocalException.ice:352
This exception indicates a connection closure timeout condition.
Definition: LocalException.ice:635
EncodingVersion bad
The version of the unsupported encoding.
Definition: LocalException.ice:742
string reason
The reason for the failure.
Definition: LocalException.ice:686
This exception indicates socket errors.
Definition: LocalException.ice:507
This exception indicates that a response for an unknown request ID has been received.
Definition: LocalException.ice:780
This exception indicates a connection establishment timeout condition.
Definition: LocalException.ice:625
string name
Name of the adapter.
Definition: LocalException.ice:265
string unsupportedFeature
The name of the unsupported feature.
Definition: LocalException.ice:988
An attempt was made to find or deregister something that is not registered with the Ice run time or I...
Definition: LocalException.ice:112
This exception is raised if an ObjectAdapter cannot be activated.
Definition: LocalException.ice:277