CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
The template class for an exception with an error code. More...
#include <details_exception_with_error_code.h>
Inherits T.
Public Member Functions | |
virtual int32_t | get_ErrorCode () const |
Gets the HRESULT of the error. More... | |
virtual String | get_Message () const override |
Protected Member Functions | |
Details_ExceptionWithErrorCode () | |
Initializes a new instance of the ExceptionWithErrorCode class with default properties. More... | |
Details_ExceptionWithErrorCode (const String &message) | |
Initializes a new instance of the ExceptionWithErrorCode class with a specified error message. More... | |
Details_ExceptionWithErrorCode (const String &message, const System::Exception &innerException) | |
Initializes a new instance of the ExceptionWithErrorCode class with a specified error message and a reference to the inner exception that is the cause of this exception. More... | |
Details_ExceptionWithErrorCode (const String &message, int32_t errorCode) | |
Initializes a new instance of the ExceptionWithErrorCode class with a specified error message and the HRESULT of the error. param message he error message that specifies the reason for the exception. param The HRESULT of the error. More... | |
virtual String | ExtraDescription () const override |
The template class for an exception with an error code.
T | An exception base class. |
|
inlineprotected |
Initializes a new instance of the ExceptionWithErrorCode class with default properties.
|
inlineprotected |
Initializes a new instance of the ExceptionWithErrorCode class with a specified error message.
message | The error message string. |
|
inlineprotected |
Initializes a new instance of the ExceptionWithErrorCode class with a specified error message and a reference to the inner exception that is the cause of this exception.
message | The error message that explains the reason for the exception. |
innerException | The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception. |
|
inlineprotected |
Initializes a new instance of the ExceptionWithErrorCode class with a specified error message and the HRESULT of the error. param message he error message that specifies the reason for the exception. param The HRESULT of the error.
|
inlineoverrideprotectedvirtual |
Reimplemented in System::ComponentModel::Details_Win32Exception.
|
inlinevirtual |
Gets the HRESULT of the error.
|
inlineoverridevirtual |