EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OmmSystemException.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_OmmSystemException_h
10 #define __thomsonreuters_ema_access_OmmSystemException_h
11 
24 
25 namespace thomsonreuters {
26 
27 namespace ema {
28 
29 namespace access {
30 
32 {
33 public :
34 
36 
37 
40  ExceptionType getExceptionType() const;
41 
45  const EmaString& getText() const;
46 
50  const EmaString& toString() const;
51 
55  Int64 getSystemExceptionCode() const;
56 
60  void* getSystemExceptionAddress() const;
62 
63 protected :
64 
67 
69  virtual ~OmmSystemException();
70 
72  OmmSystemException& operator=( const OmmSystemException& );
73 };
74 
75 }
76 
77 }
78 
79 }
80 
81 #endif // __thomsonreuters_ema_access_OmmSystemException_h
long long Int64
represents 64-bit signed integer
Definition: Common.h:74
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
OmmSystemException represents exceptions thrown by operating system.