DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
UnknownException.h
Go to the documentation of this file.
1
5
6#pragma once
8#include "Common.h"
9
10namespace DotNetDupe {
11 namespace System {
12
18 public:
21
24 DOTNETDUPE_API UnknownException(const String& sMessage) : SystemException(sMessage) {}
25
29 DOTNETDUPE_API UnknownException(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.
Represents errors that occur during application execution.
Definition Exception.h:19
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
UnknownException(const String &sMessage)
Initializes a new instance of the UnknownException class with a specified error message.
UnknownException()
Initializes a new instance of the UnknownException class with a default message.
Definition Exception.cpp:53
UnknownException(const String &sMessage, const Exception &innerException)
Initializes a new instance of the UnknownException class with a specified error message and inner exc...