DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
SecurityException.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include "Common.h"
8
9namespace DotNetDupe {
10 namespace System {
11 namespace Security {
12
18 public:
21
24 SecurityException(const String& sMessage) : SystemException(sMessage) {}
25
29 SecurityException(const String& sMessage, const Exception& innerException) : SystemException(sMessage, innerException) {}
30 };
31
32 }
33 }
34}
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition Common.h:20
Serves as the base class for system exceptions across the library.
Exception()
Initializes a new instance of the Exception class with a default system-supplied message.
Definition Exception.cpp:15
SecurityException(const String &sMessage)
Initializes a new instance of the SecurityException class with a specified error message.
SecurityException()
Initializes a new instance of the SecurityException class with default properties.
Definition Exception.cpp:55
SecurityException(const String &sMessage, const Exception &innerException)
Initializes a new instance of the SecurityException class with a specified error message and inner ex...
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74
SystemException()
Initializes a new instance of the SystemException class with a default message.
Definition Exception.cpp:48