|
DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
|
The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed. More...
#include <FormatException.h>
Public Member Functions | |
| FormatException (const String &sMessage) | |
| Initializes a new instance of the FormatException 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. | |
| Exception & | operator= (const Exception &other) |
| Copy assignment operator. | |
| const char * | What () const |
| Gets a message that describes the current exception. | |
The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed.
Definition at line 16 of file FormatException.h.
|
inline |
Initializes a new instance of the FormatException class with a specified error message.
| sMessage | The error message that explains the reason for the exception. |
Definition at line 20 of file FormatException.h.
References DotNetDupe::System::SystemException::SystemException().
Referenced by DotNetDupe::System::Guid::Guid(), DotNetDupe::System::AppendExplicitArg(), DotNetDupe::System::FormatClosingBrace(), DotNetDupe::System::FormatOpenBrace(), DotNetDupe::System::DateTime::Parse(), DotNetDupe::System::Version::Parse(), DotNetDupe::System::DateTime::ParseExact(), DotNetDupe::System::ThrowFormatException(), DotNetDupe::System::Convert::ToBoolean(), DotNetDupe::System::Convert::ToByte(), DotNetDupe::System::Convert::ToChar(), DotNetDupe::System::Convert::ToDouble(), DotNetDupe::System::Convert::ToInt16(), DotNetDupe::System::Convert::ToInt32(), DotNetDupe::System::Convert::ToInt64(), DotNetDupe::System::Convert::ToSByte(), DotNetDupe::System::Convert::ToSingle(), DotNetDupe::System::Convert::ToUInt16(), DotNetDupe::System::Convert::ToUInt32(), and DotNetDupe::System::Convert::ToUInt64().