System::Xml::Schema::Details_XmlSchemaException Class Reference

Returns detailed information about the schema exception. More...

Inherits System::Details_SystemException.

Inherited by System::Xml::Schema::Details_XmlSchemaInferenceException, and System::Xml::Schema::Details_XmlSchemaValidationException.

Public Types

using Ptr = SharedPtr< XmlSchemaException >
 An alias for shared pointer to an instance of this class. More...
 

Public Member Functions

ASPOSECPP_SHARED_API String get_SourceUri ()
 
ASPOSECPP_SHARED_API int32_t get_LineNumber ()
 
ASPOSECPP_SHARED_API int32_t get_LinePosition ()
 
ASPOSECPP_SHARED_API SharedPtr< XmlSchemaObjectget_SourceSchemaObject ()
 
ASPOSECPP_SHARED_API String get_Message () const override
 

Detailed Description

Returns detailed information about the schema exception.

Member Typedef Documentation

◆ Ptr

An alias for shared pointer to an instance of this class.

Member Function Documentation

◆ get_LineNumber()

ASPOSECPP_SHARED_API 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()

ASPOSECPP_SHARED_API 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()

ASPOSECPP_SHARED_API 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()

ASPOSECPP_SHARED_API SharedPtr<XmlSchemaObject> System::Xml::Schema::Details_XmlSchemaException::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()

ASPOSECPP_SHARED_API 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.