|
CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Returns detailed information about the last exception. More...
#include <xml_exception.h>
Inherits Details_SystemException.
Public Types | |
| using | Ptr = SharedPtr< XmlException > |
| An alias for shared pointer to an instance of this class. More... | |
Public Member Functions | |
| int32_t | get_LineNumber () |
| Returns the line number indicating where the error occurred. Line numbers start at 1. More... | |
| int32_t | get_LinePosition () |
| Returns the line position indicating where the error occurred. Line position starts at 1. More... | |
| String | get_SourceUri () |
| Returns the location of the XML file. More... | |
| String | get_Message () const override |
| Returns a message describing the current exception. More... | |
Protected Member Functions | |
| void | DoThrow (const System::ExceptionPtr &self) const override |
| Throws exception instance wrapped by exception wrapper. More... | |
| Details_XmlException () | |
| Initializes a new instance of the XmlException class. More... | |
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlException, CODEPORTING_ARGS()) | |
| Details_XmlException (const String &message) | |
| Initializes a new instance of the XmlException class with a specified error message. More... | |
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlException, CODEPORTING_ARGS(String message)) | |
| Details_XmlException (const String &message, Exception innerException) | |
| Initializes a new instance of the XmlException class. More... | |
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlException, CODEPORTING_ARGS(String message, Exception innerException)) | |
| Details_XmlException (const String &message, Exception innerException, int32_t lineNumber, int32_t linePosition) | |
| Initializes a new instance of the XmlException class with the specified message, inner exception, line number, and line position. More... | |
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlException, CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition)) | |
Returns detailed information about the last exception.
An alias for shared pointer to an instance of this class.
|
protected |
Initializes a new instance of the XmlException class.
|
protected |
Initializes a new instance of the XmlException class with a specified error message.
| message | The error description. |
|
protected |
Initializes a new instance of the XmlException class.
| message | The description of the error condition. |
| innerException | The Exception that threw the XmlException, if any. This value can be nullptr. |
|
protected |
Initializes a new instance of the XmlException class with the specified message, inner exception, line number, and line position.
| message | The error description. |
| innerException | The exception that is the cause of the current exception. This value can be nullptr. |
| lineNumber | The line number indicating where the error occurred. |
| linePosition | The line position indicating where the error occurred. |
|
overrideprotected |
Throws exception instance wrapped by exception wrapper.
| self | Exception instance to be thrown. |
| int32_t System::Xml::Details_XmlException::get_LineNumber | ( | ) |
Returns the line number indicating where the error occurred. Line numbers start at 1.
| int32_t System::Xml::Details_XmlException::get_LinePosition | ( | ) |
Returns the line position indicating where the error occurred. Line position starts at 1.
|
override |
Returns a message describing the current exception.
| String System::Xml::Details_XmlException::get_SourceUri | ( | ) |
Returns the location of the XML file.
nullptr.
|
protected |
|
protected |
|
protected |
|
protected |