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

The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument. More...

#include <ArgumentNullException.h>

Inheritance diagram for DotNetDupe::System::ArgumentNullException:

Public Member Functions

 ArgumentNullException (const String &sMessage)
 Initializes a new instance of the ArgumentNullException class with a specified error message.
Public Member Functions inherited from DotNetDupe::System::ArgumentException
 ArgumentException (const String &sMessage)
 Initializes a new instance of the ArgumentException class with a specified error message.
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

The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument.

Note
Conforms to ECMA-335 Partition IV Section 5.26 (System.ArgumentNullException).

Definition at line 16 of file ArgumentNullException.h.

Constructor & Destructor Documentation

◆ ArgumentNullException()

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

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

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

Definition at line 20 of file ArgumentNullException.h.

References DotNetDupe::System::ArgumentException::ArgumentException().

Referenced by DotNetDupe::System::IO::BinaryReader::BinaryReader(), DotNetDupe::System::IO::BinaryReader::BinaryReader(), DotNetDupe::System::IO::BinaryWriter::BinaryWriter(), DotNetDupe::System::IO::BinaryWriter::BinaryWriter(), DotNetDupe::System::Net::Security::SslStream::AuthenticateAsServer(), DotNetDupe::System::Buffer::BlockCopy(), DotNetDupe::System::Buffer::ByteLength(), DotNetDupe::System::Net::Http::ByteArrayContent::CopyTo(), DotNetDupe::System::Net::Http::HttpContent::CopyTo(), DotNetDupe::System::Net::Http::StreamContent::CopyTo(), DotNetDupe::System::Net::Http::StringContent::CopyTo(), DotNetDupe::System::IO::MemoryStream::Read(), DotNetDupe::System::Net::Http::HttpClient::Send(), DotNetDupe::System::BitConverter::ToBoolean(), DotNetDupe::System::BitConverter::ToChar(), DotNetDupe::System::BitConverter::ToDouble(), DotNetDupe::System::BitConverter::ToInt16(), DotNetDupe::System::BitConverter::ToInt32(), DotNetDupe::System::BitConverter::ToInt64(), DotNetDupe::System::BitConverter::ToSingle(), DotNetDupe::System::BitConverter::ToUInt16(), DotNetDupe::System::BitConverter::ToUInt32(), DotNetDupe::System::BitConverter::ToUInt64(), and DotNetDupe::System::IO::MemoryStream::Write().


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