DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
IOException.h
Go to the documentation of this file.
1
5
6#pragma once
8#include "Common.h"
9
10namespace DotNetDupe {
11 namespace System {
12 namespace IO {
17 class IOException : public SystemException {
18 public:
21
24 IOException(const String& sMessage) : SystemException(sMessage) { }
25
29 IOException(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
The exception that is thrown when an I/O error occurs.
Definition IOException.h:17
IOException(const String &sMessage, const Exception &innerException)
Initializes a new instance of the IOException class with a specified error message and inner exceptio...
Definition IOException.h:29
IOException(const String &sMessage)
Initializes a new instance of the IOException class with a specified error message.
Definition IOException.h:24
IOException()
Initializes a new instance of the IOException class with a default message.
Definition Exception.cpp:56
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