EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OmmInvalidHandleException.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 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_OmmInvalidHandleException_h
10 #define __thomsonreuters_ema_access_OmmInvalidHandleException_h
11 
27 
28 namespace thomsonreuters {
29 
30 namespace ema {
31 
32 namespace access {
33 
34 class EmaString;
35 
37 {
38 public :
39 
41 
42 
45  OmmException::ExceptionType getExceptionType() const;
46 
50  const EmaString& getText() const;
51 
55  const EmaString& toString() const;
56 
60  UInt64 getHandle() const;
62 
64 
65 
67  virtual ~OmmInvalidHandleException();
69 
70 protected :
71 
73 
75 
78 
79 private :
80 
82 };
83 
84 }
85 
86 }
87 
88 }
89 
90 #endif // __thomsonreuters_ema_access_OmmInvalidHandleException_h
OmmInvalidHandleException is thrown when application passes in an invalid handle to OmmConsumer...
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:56
#define EMA_ACCESS_API
Definition: Common.h:95
OmmException is a parent class for all exception types thrown by EMA.
Definition: OmmException.h:45