DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
OutOfMemoryException.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 OutOfMemoryException(const String& sMessage) : SystemException(sMessage) {}
25
29 OutOfMemoryException(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
OutOfMemoryException(const String &sMessage)
Initializes a new instance of the OutOfMemoryException class with a specified error message.
OutOfMemoryException(const String &sMessage, const Exception &innerException)
Initializes a new instance of the OutOfMemoryException class with a specified error message and inner...
OutOfMemoryException()
Initializes a new instance of the OutOfMemoryException class with a default message.
Definition Exception.cpp:54
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