EMA C++ Edition
OmmInvalidUsageException.h
Go to the documentation of this file.
1/*|-----------------------------------------------------------------------------
2 *| This source code is provided under the Apache 2.0 license
3 *| and is provided AS IS with no warranty or guarantee of fit for purpose.
4 *| See the project's LICENSE.md for details.
5 *| Copyright (C) 2019 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_OmmInvalidUsageException_h
10#define __refinitiv_ema_access_OmmInvalidUsageException_h
11
24
25namespace refinitiv {
26
27namespace ema {
28
29namespace access {
30
32{
33public :
34
39 {
40 NoErrorEnum = 0,
42 FailureEnum = -1,
44 NoBuffersEnum = -4,
46 BufferTooSmallEnum = -21,
48 InvalidArgumentEnum = -22,
50 EncodingUnavaliableEnum = -23,
52 UnsupportedDataTypeEnum = -24,
54 UnexpectedEncoderCallEnum = -25,
56 IncompleteDataEnum = -26,
58 SetDefNotProvidedEnum = -27,
60 InvalidDataEnum = -29,
62 IllegalLocalSetDefEnum = -30,
64 TooManyLocalSetDefsEnum = -31,
66 DuplicateLocalSetDefsEnum = -32,
68 IteratorOverrunEnum = -33,
70 ValueOutOfRangeEnum = -34,
72 DictDuplicateEnumValueEnum = -35,
74 PacketGapDetectedEnum = -61,
76 SlowReaderEnum = -62,
78 CongestionDetectedEnum = -63,
80 PersistenceFullEnum = -91,
82 /* EMA error codes */
83 InvalidOperationEnum = -4048,
85 NoActiveChannelEnum = -4049,
87 UnSupportedChannelTypeEnum = - 4050,
89 UnSupportedServerTypeEnum = -4051,
91 LoginRequestTimeOutEnum = -4052,
93 LoginRequestRejectedEnum = -4053,
95 DirectoryRequestTimeOutEnum = -4054,
97 DictionaryRequestTimeOutEnum = -4055,
99 InternalErrorEnum = -4060
100 };
101
103
104
108
112 const EmaString& getText() const;
113
117 const EmaString& toString() const;
118
124
126
127
131
132protected :
133
135
138
140};
141
142}
143
144}
145
146}
147
148#endif // __refinitiv_ema_access_OmmInvalidUsageException_h
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
int Int32
represents 32-bit signed integer
Definition: Common.h:62
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
OmmException is a parent class for all exception types thrown by EMA.
Definition: OmmException.h:46
OmmInvalidUsageException is thrown when application violates usage of EMA interfaces.
OmmInvalidUsageException & operator=(const OmmInvalidUsageException &)
OmmException::ExceptionType getExceptionType() const
OmmInvalidUsageException(const OmmInvalidUsageException &)