Safir SDK Core
Loading...
Searching...
No Matches
NotOpenException.h
Go to the documentation of this file.
1#pragma once
2
3#include <Safir/Utilities/Internal/VisibilityHelpers.h>
4
5#ifdef safir_generated_Core_cpp_EXPORTS
6# define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_EXPORT
7#else
8# define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_IMPORT
9# define SAFIR_LIBRARY_NAME "safir_generated-Core-cpp"
10# include <Safir/Utilities/Internal/AutoLink.h>
11#endif
12#define SAFIR_GENERATED_Core_API_LOCAL SAFIR_HELPER_DLL_LOCAL
13
15
19namespace Safir
20{
24namespace Dob
25{
26
33 {
34 public:
48 (const std::wstring & message,
49 const std::wstring & fileName, //Use the __WFILE__ macro
50 const Safir::Dob::Typesystem::Int64 lineNumber);//Use the __LINE__ macro
51
52 const std::wstring GetName() const override;
53
55 static const Safir::Dob::Typesystem::TypeId ExceptionTypeId = -4213786042319883235LL;
56
57 Safir::Dob::Typesystem::TypeId GetTypeId() const override {return ExceptionTypeId;}
58
59 };
60
61
62} // Dob
63} // Safir
64
65
#define SAFIR_GENERATED_Core_API
Definition BackdoorCommand.h:18
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
DotsC_Int64 Int64
64 bit integer type.
Definition Defs.h:69
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
This is the base class of all Fundamental Exceptions.
Definition Exceptions.h:200
Exception thrown if dose_main has terminated in an unexpected way, or the application has not yet con...
Definition NotOpenException.h:33
NotOpenException(const std::wstring &message, const std::wstring &fileName, const Safir::Dob::Typesystem::Int64 lineNumber)
Constructor with exception information.
const std::wstring GetName() const override
Get the exception name.
Safir::Dob::Typesystem::TypeId GetTypeId() const override
Get the type id of this exception.
Definition NotOpenException.h:57