Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AccessDeniedException.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_ACCESSDENIEDEXCEPTION_H_INCLUDED
2 #define SAFIR_DOB_ACCESSDENIEDEXCEPTION_H_INCLUDED
3 
4 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
5 
6 #ifdef dots_generated_Safir_cpp_EXPORTS
7 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_EXPORT
8 #else
9 # define DOTS_GENERATED_Safir_API SAFIR_HELPER_DLL_IMPORT
10 # define SAFIR_LIBRARY_NAME "dots_generated-Safir-cpp"
11 # include <Safir/Utilities/Internal/AutoLink.h>
12 #endif
13 #define DOTS_GENERATED_Safir_API_LOCAL SAFIR_HELPER_DLL_LOCAL
14 
16 
20 namespace Safir
21 {
25 namespace Dob
26 {
27 
34  {
35  public:
49  (const std::wstring & message,
50  const std::wstring & fileName, //Use the __WFILE__ macro
51  const Safir::Dob::Typesystem::Int64 lineNumber);//Use the __LINE__ macro
52 
53  //override of pure virtual
54  virtual const std::wstring GetName() const;
55 
57  static const Safir::Dob::Typesystem::TypeId ExceptionTypeId = -8253881695090931342LL;
58 
59  //override of pure virtual
60  virtual Safir::Dob::Typesystem::TypeId GetTypeId() const {return ExceptionTypeId;}
61 
62  };
63 
64 
65 } // Dob
66 } // Safir
67 
68 #endif
69 
Thrown when not owner tries to set/delete an entity.
Definition: AccessDeniedException.h:32
This is the base class of all Fundamental Exceptions.
Definition: Exceptions.h:190
#define DOTS_GENERATED_Safir_API
Definition: AccessDeniedException.h:9
DotsC_Int64 Int64
64 bit integer type.
Definition: Defs.h:70
DotsC_TypeId TypeId
A unique type identifier.
Definition: Defs.h:219
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this exception.
Definition: AccessDeniedException.h:60
DOTS_CPP_API std::wstring GetName(const Dob::Typesystem::TypeId typeId, const Dob::Typesystem::MemberIndex member)
Get the name of the specified member as it was defined in the xml description.