DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
DotNetDupe::System::SystemException Class Reference

Serves as the base class for system exceptions namespace. More...

#include <SystemException.h>

Inheritance diagram for DotNetDupe::System::SystemException:

Public Member Functions

 SystemException ()
 Initializes a new instance of the SystemException class with a default message.
 SystemException (const String &sMessage)
 Initializes a new instance of the SystemException class with a specified error message.
 SystemException (const String &sMessage, const Exception &innerException)
 Initializes a new instance of the SystemException class with a specified error message and inner exception.
Public Member Functions inherited from DotNetDupe::System::Exception
 Exception ()
 Initializes a new instance of the Exception class with a default system-supplied message.
 Exception (const Exception &other)
 Copy constructor. Deep copies inner exception if present.
 Exception (const String &sMessage)
 Initializes a new instance of the Exception class with a specified error message.
 Exception (const String &sMessage, const Exception &innerException)
 Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
virtual ~Exception ()
 Virtual destructor.
Exceptionoperator= (const Exception &other)
 Copy assignment operator.
const char * What () const
 Gets a message that describes the current exception.

Detailed Description

Serves as the base class for system exceptions namespace.

Note
Conforms to ECMA-335 Partition IV Section 5.24 (System.SystemException).

Definition at line 17 of file SystemException.h.

Constructor & Destructor Documentation

◆ SystemException() [1/3]

DotNetDupe::System::SystemException::SystemException ( )

Initializes a new instance of the SystemException class with a default message.

Definition at line 48 of file Exception.cpp.

References DotNetDupe::System::Exception::Exception().

Referenced by DotNetDupe::System::Threading::AbandonedMutexException::AbandonedMutexException(), DotNetDupe::System::ArgumentException::ArgumentException(), DotNetDupe::System::ArithmeticException::ArithmeticException(), DotNetDupe::System::FormatException::FormatException(), DotNetDupe::System::InvalidOperationException::InvalidOperationException(), DotNetDupe::System::IO::IOException::IOException(), DotNetDupe::System::IO::IOException::IOException(), DotNetDupe::System::IO::IOException::IOException(), DotNetDupe::System::Text::Json::JsonException::JsonException(), DotNetDupe::System::Text::Json::JsonException::JsonException(), DotNetDupe::System::Text::Json::JsonException::JsonException(), DotNetDupe::System::NotImplementedException::NotImplementedException(), DotNetDupe::System::NotSupportedException::NotSupportedException(), DotNetDupe::System::NullReferenceException::NullReferenceException(), DotNetDupe::System::OperationCanceledException::OperationCanceledException(), DotNetDupe::System::OutOfMemoryException::OutOfMemoryException(), DotNetDupe::System::OutOfMemoryException::OutOfMemoryException(), DotNetDupe::System::OutOfMemoryException::OutOfMemoryException(), DotNetDupe::System::OverflowException::OverflowException(), DotNetDupe::System::Security::SecurityException::SecurityException(), DotNetDupe::System::Security::SecurityException::SecurityException(), DotNetDupe::System::Security::SecurityException::SecurityException(), DotNetDupe::System::Threading::SemaphoreFullException::SemaphoreFullException(), DotNetDupe::System::Net::Sockets::SocketException::SocketException(), DotNetDupe::System::Threading::SynchronizationLockException::SynchronizationLockException(), DotNetDupe::System::Threading::Tasks::TaskCanceledException::TaskCanceledException(), DotNetDupe::System::Threading::ThreadInterruptedException::ThreadInterruptedException(), DotNetDupe::System::Threading::ThreadStateException::ThreadStateException(), DotNetDupe::System::TimeoutException::TimeoutException(), DotNetDupe::System::UnauthorizedAccessException::UnauthorizedAccessException(), DotNetDupe::System::UnauthorizedAccessException::UnauthorizedAccessException(), DotNetDupe::System::UnauthorizedAccessException::UnauthorizedAccessException(), DotNetDupe::System::UnknownException::UnknownException(), DotNetDupe::System::UnknownException::UnknownException(), DotNetDupe::System::UnknownException::UnknownException(), DotNetDupe::System::Threading::WaitHandleCannotBeOpenedException::WaitHandleCannotBeOpenedException(), DotNetDupe::System::Net::WebSockets::WebSocketException::WebSocketException(), DotNetDupe::System::Net::WebSockets::WebSocketException::WebSocketException(), DotNetDupe::System::Net::WebSockets::WebSocketException::WebSocketException(), DotNetDupe::System::Net::WebSockets::WebSocketException::WebSocketException(), DotNetDupe::System::Net::WebSockets::WebSocketException::WebSocketException(), DotNetDupe::System::ComponentModel::Win32Exception::Win32Exception(), DotNetDupe::System::ComponentModel::Win32Exception::Win32Exception(), DotNetDupe::System::Diagnostics::CollectTier1Processes(), DotNetDupe::System::Diagnostics::HandleQueryFailure(), DotNetDupe::System::SmartPointer< TimeProvider >::operator=(), DotNetDupe::System::SmartPointer< TimeProvider >::operator=(), DotNetDupe::System::EnableSharedFromThis< T >::SharedFromThis(), and DotNetDupe::System::EnableSharedFromThis< T >::SharedFromThis().

◆ SystemException() [2/3]

DotNetDupe::System::SystemException::SystemException ( const String & sMessage)

Initializes a new instance of the SystemException class with a specified error message.

Parameters
sMessageThe message that describes the error.

Definition at line 49 of file Exception.cpp.

References DotNetDupe::System::Exception::Exception().

◆ SystemException() [3/3]

DotNetDupe::System::SystemException::SystemException ( const String & sMessage,
const Exception & innerException )

Initializes a new instance of the SystemException class with a specified error message and inner exception.

Parameters
sMessageThe error message that explains the reason for the exception.
innerExceptionThe exception that is the cause of the current exception.

Definition at line 50 of file Exception.cpp.

References DotNetDupe::System::Exception::Exception().


The documentation for this class was generated from the following files: