Returns detailed information about the schema exception.
More...
#include <xml_schema_exception.h>
Inherits Details_SystemException.
Inherited by System::Xml::Schema::Details_XmlSchemaInferenceException, and System::Xml::Schema::Details_XmlSchemaValidationException.
|
void | DoThrow (const System::ExceptionPtr &self) const override |
| Throws exception instance wrapped by exception wrapper. More...
|
|
| Details_XmlSchemaException () |
| Initializes a new instance of the XmlSchemaException class. More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaException, CODEPORTING_ARGS()) |
|
| Details_XmlSchemaException (const String &message) |
| Initializes a new instance of the XmlSchemaException class with the exception message specified. More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaException, CODEPORTING_ARGS(String message)) |
|
| Details_XmlSchemaException (const String &message, Exception innerException) |
| Initializes a new instance of the XmlSchemaException class with the exception message and original Exception object that caused this exception specified. More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaException, CODEPORTING_ARGS(String message, Exception innerException)) |
|
| Details_XmlSchemaException (const String &message, Exception innerException, int32_t lineNumber, int32_t linePosition) |
| Initializes a new instance of the XmlSchemaException class with the exception message specified, and the original Exception object, line number, and line position of the XML that cause this exception specified. More...
|
|
| MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaException, CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition)) |
|
Returns detailed information about the schema exception.
◆ Ptr
An alias for shared pointer to an instance of this class.
◆ Details_XmlSchemaException() [1/4]
System::Xml::Schema::Details_XmlSchemaException::Details_XmlSchemaException |
( |
| ) |
|
|
protected |
Initializes a new instance of the XmlSchemaException class.
◆ Details_XmlSchemaException() [2/4]
System::Xml::Schema::Details_XmlSchemaException::Details_XmlSchemaException |
( |
const String & |
message | ) |
|
|
protected |
Initializes a new instance of the XmlSchemaException class with the exception message specified.
- Parameters
-
message | A string description of the error condition. |
◆ Details_XmlSchemaException() [3/4]
System::Xml::Schema::Details_XmlSchemaException::Details_XmlSchemaException |
( |
const String & |
message, |
|
|
Exception |
innerException |
|
) |
| |
|
protected |
Initializes a new instance of the XmlSchemaException class with the exception message and original Exception object that caused this exception specified.
- Parameters
-
message | A string description of the error condition. |
innerException | The original Exception object that caused this exception. |
◆ Details_XmlSchemaException() [4/4]
System::Xml::Schema::Details_XmlSchemaException::Details_XmlSchemaException |
( |
const String & |
message, |
|
|
Exception |
innerException, |
|
|
int32_t |
lineNumber, |
|
|
int32_t |
linePosition |
|
) |
| |
|
protected |
Initializes a new instance of the XmlSchemaException class with the exception message specified, and the original Exception object, line number, and line position of the XML that cause this exception specified.
- Parameters
-
message | A string description of the error condition. |
innerException | The original Exception object that caused this exception. |
lineNumber | The line number of the XML that caused this exception. |
linePosition | The line position of the XML that caused this exception. |
◆ DoThrow()
void System::Xml::Schema::Details_XmlSchemaException::DoThrow |
( |
const System::ExceptionPtr & |
self | ) |
const |
|
overrideprotected |
Throws exception instance wrapped by exception wrapper.
- Parameters
-
self | Exception instance to be thrown. |
◆ get_LineNumber()
int32_t System::Xml::Schema::Details_XmlSchemaException::get_LineNumber |
( |
| ) |
|
Returns the line number indicating where the error occurred.
- Returns
- The line number indicating where the error occurred.
◆ get_LinePosition()
int32_t System::Xml::Schema::Details_XmlSchemaException::get_LinePosition |
( |
| ) |
|
Returns the line position indicating where the error occurred.
- Returns
- The line position indicating where the error occurred.
◆ get_Message()
String System::Xml::Schema::Details_XmlSchemaException::get_Message |
( |
| ) |
const |
|
override |
Returns the description of the error condition of this exception.
- Returns
- The description of the error condition of this exception.
◆ get_SourceSchemaObject()
The XmlSchemaObject
that produced the XmlSchemaException.
- Returns
- A valid object instance represents a structural validation error in the XML Schema Object Model (SOM).
◆ get_SourceUri()
String System::Xml::Schema::Details_XmlSchemaException::get_SourceUri |
( |
| ) |
|
Returns the Uniform Resource Identifier (URI) location of the schema that caused the exception.
- Returns
- The URI location of the schema that caused the exception.
◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/4]
System::Xml::Schema::Details_XmlSchemaException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION |
( |
Details_XmlSchemaException |
, |
|
|
CODEPORTING_ARGS() |
|
|
) |
| |
|
protected |
◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/4]
◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/4]
◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [4/4]
System::Xml::Schema::Details_XmlSchemaException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION |
( |
Details_XmlSchemaException |
, |
|
|
CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition) |
|
|
) |
| |
|
protected |