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

Represents an unknown or unmapped exception encountered during execution. More...

#include <UnknownException.h>

Inheritance diagram for DotNetDupe::System::UnknownException:

Public Member Functions

 UnknownException ()
 Initializes a new instance of the UnknownException class with a default message.
 UnknownException (const String &sMessage)
 Initializes a new instance of the UnknownException class with a specified error message.
 UnknownException (const String &sMessage, const Exception &innerException)
 Initializes a new instance of the UnknownException class with a specified error message and inner exception.
Public Member Functions inherited from DotNetDupe::System::SystemException
 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

Represents an unknown or unmapped exception encountered during execution.

Standard Citation: ECMA-335 CLI Common Language Infrastructure.

Definition at line 17 of file UnknownException.h.

Constructor & Destructor Documentation

◆ UnknownException() [1/3]

DotNetDupe::System::UnknownException::UnknownException ( )

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

Definition at line 53 of file Exception.cpp.

References DotNetDupe::System::SystemException::SystemException().

◆ UnknownException() [2/3]

DotNetDupe::System::UnknownException::UnknownException ( const String & sMessage)
inline

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

Parameters
sMessageThe error message that explains the reason for the exception.

Definition at line 24 of file UnknownException.h.

References DotNetDupe::System::SystemException::SystemException(), and DOTNETDUPE_API.

◆ UnknownException() [3/3]

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

Initializes a new instance of the UnknownException 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 29 of file UnknownException.h.

References DotNetDupe::System::SystemException::SystemException(), and DOTNETDUPE_API.


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