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

The exception that is thrown when a method call is invalid for the object's current state. More...

#include <InvalidOperationException.h>

Inheritance diagram for DotNetDupe::System::InvalidOperationException:

Public Member Functions

 InvalidOperationException (const String &sMessage)
 Initializes a new instance of the InvalidOperationException 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 method call is invalid for the object's current state.

Note
Conforms to ECMA-335 Partition IV Section 5.28 (System.InvalidOperationException).

Definition at line 16 of file InvalidOperationException.h.

Constructor & Destructor Documentation

◆ InvalidOperationException()


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