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

The exception that is thrown when one of the arguments provided to a method is not valid. More...

#include <ArgumentException.h>

Inheritance diagram for DotNetDupe::System::ArgumentException:

Public Member Functions

 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 one of the arguments provided to a method is not valid.

Note
Conforms to ECMA-335 Partition IV Section 5.25 (System.ArgumentException).

Definition at line 16 of file ArgumentException.h.

Constructor & Destructor Documentation

◆ ArgumentException()

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

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

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

Definition at line 20 of file ArgumentException.h.

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

Referenced by DotNetDupe::System::ArgumentNullException::ArgumentNullException(), DotNetDupe::System::ArgumentOutOfRangeException::ArgumentOutOfRangeException(), DotNetDupe::System::Guid::Guid(), DotNetDupe::System::String::String(), DotNetDupe::System::String::String(), DotNetDupe::System::String::String(), DotNetDupe::System::String::String(), DotNetDupe::System::Buffer::BlockCopy(), DotNetDupe::System::IO::CalculateSeekPosition(), DotNetDupe::System::IO::Path::ChangeExtension(), DotNetDupe::System::Net::WebSockets::WebSocket::ComputeSecWebSocketAccept(), DotNetDupe::System::Array< T >::Copy(), DotNetDupe::System::Array< T >::CopyTo(), DotNetDupe::System::String::CopyTo(), DotNetDupe::System::IO::Directory::CreateDirectory(), DotNetDupe::System::Diagnostics::EventLog::CreateEventSource(), DotNetDupe::System::DecodeBase64Chunk4(), DotNetDupe::System::DecodeBase64Remainder(), DotNetDupe::System::Diagnostics::EventLog::Delete(), DotNetDupe::System::IO::Directory::Delete(), DotNetDupe::System::Diagnostics::EventLog::DeleteEventSource(), DotNetDupe::System::IO::DetermineOpenMode(), DotNetDupe::System::Diagnostics::SystemMetrics::EnrichProcessInfo(), DotNetDupe::System::Net::Dns::GetHostAddresses(), DotNetDupe::System::Diagnostics::Process::GetProcessById(), DotNetDupe::System::Security::Principal::UserPrincipal::GetUser(), DotNetDupe::System::Net::Sockets::InitSockAddrIn(), DotNetDupe::System::String::InternalFormat(), DotNetDupe::System::IO::Path::Join(), DotNetDupe::System::Security::Cryptography::X509Certificates::LoadPemCert(), DotNetDupe::System::Security::Cryptography::X509Certificates::LoadPemKey(), DotNetDupe::System::IO::Directory::Move(), DotNetDupe::System::Diagnostics::OpenWin32EventLogHandle(), DotNetDupe::System::String::operator=(), DotNetDupe::System::String::operator=(), DotNetDupe::System::String::operator=(), DotNetDupe::System::String::PadLeft(), DotNetDupe::System::String::PadRight(), DotNetDupe::System::IdentityModel::Tokens::Jwt::JWTToken::Parse(), DotNetDupe::System::Version::Parse(), DotNetDupe::System::Security::Principal::QueryWin32User(), DotNetDupe::System::Diagnostics::EtwLogReader::ReadEvents(), DotNetDupe::System::IO::FileStream::Seek(), DotNetDupe::System::Net::Http::HttpClient::Send(), DotNetDupe::System::IO::Directory::SetCurrentDirectory(), DotNetDupe::System::Console::SetIn(), DotNetDupe::System::Diagnostics::EtwLogReader::StartListening(), DotNetDupe::System::ThrowArgumentException(), DotNetDupe::System::ToBaseString(), DotNetDupe::System::BitConverter::ToString(), and DotNetDupe::System::Diagnostics::EventLog::WriteEntry().


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