DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
JsonException.h
Go to the documentation of this file.
1
3
4
#pragma once
5
6
#include "
Common.h
"
7
#include "
System/SystemException.h
"
8
9
namespace
DotNetDupe
{
10
namespace
System
{
11
namespace
Text
{
12
namespace
Json
{
13
18
class
JsonException
:
public
SystemException
{
19
public
:
21
DOTNETDUPE_API
JsonException
() :
SystemException
(
String
(
"A JSON parse error occurred."
)) {}
22
25
DOTNETDUPE_API
JsonException
(
const
String
& sMessage) :
SystemException
(sMessage) {}
26
30
DOTNETDUPE_API
JsonException
(
const
String
& sMessage,
const
Exception
& innerException) :
SystemException
(sMessage, innerException) {}
31
};
32
33
}
34
}
35
}
36
}
Common.h
Defines common cross-platform macros, export decorators, and fundamental types.
DOTNETDUPE_API
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition
Common.h:20
SystemException.h
Serves as the base class for system exceptions across the library.
DotNetDupe::System::Exception::Exception
Exception()
Initializes a new instance of the Exception class with a default system-supplied message.
Definition
Exception.cpp:15
DotNetDupe::System::String
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition
String.h:74
DotNetDupe::System::SystemException::SystemException
SystemException()
Initializes a new instance of the SystemException class with a default message.
Definition
Exception.cpp:48
DotNetDupe::System::Text::Json::JsonException::JsonException
JsonException()
Initializes a new instance of the JsonException class with a default message.
Definition
JsonException.h:21
DotNetDupe::System::Text::Json::JsonException::JsonException
JsonException(const String &sMessage)
Initializes a new instance of the JsonException class with a specified error message.
Definition
JsonException.h:25
DotNetDupe::System::Text::Json::JsonException::JsonException
JsonException(const String &sMessage, const Exception &innerException)
Initializes a new instance of the JsonException class with a specified error message and inner except...
Definition
JsonException.h:30
DotNetDupe::System::Text::Json
Definition
JsonElement.h:17
DotNetDupe::System::Text
Definition
JsonElement.h:16
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
Include
System
Text
Json
JsonException.h
Generated by
1.18.0