CodePorting.Translator.Cs2Cpp.Framework
System::Xml::Schema::Details_XmlSchemaValidationException Class Reference

Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated. More...

#include <xml_schema_validation_exception.h>

Inherits System::Xml::Schema::Details_XmlSchemaException.

Public Types

using Ptr = SharedPtr< XmlSchemaValidationException >
 An alias for shared pointer to an instance of this class. More...
 
- Public Types inherited from System::Xml::Schema::Details_XmlSchemaException
using Ptr = SharedPtr< XmlSchemaException >
 An alias for shared pointer to an instance of this class. More...
 

Public Member Functions

SharedPtr< Objectget_SourceObject ()
 Returns the XML node that caused this XmlSchemaValidationException. More...
 
- Public Member Functions inherited from System::Xml::Schema::Details_XmlSchemaException
String get_SourceUri ()
 Returns the Uniform Resource Identifier (URI) location of the schema that caused the exception. More...
 
int32_t get_LineNumber ()
 Returns the line number indicating where the error occurred. More...
 
int32_t get_LinePosition ()
 Returns the line position indicating where the error occurred. More...
 
SharedPtr< XmlSchemaObjectget_SourceSchemaObject ()
 The XmlSchemaObject that produced the XmlSchemaException. More...
 
String get_Message () const override
 Returns the description of the error condition of this exception. More...
 

Protected Member Functions

void DoThrow (const System::ExceptionPtr &self) const override
 Throws exception instance wrapped by exception wrapper. More...
 
 Details_XmlSchemaValidationException ()
 Initializes a new instance of the XmlSchemaValidationException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaValidationException, CODEPORTING_ARGS())
 
 Details_XmlSchemaValidationException (const String &message)
 Initializes a new instance of the XmlSchemaValidationException class with the exception message specified. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaValidationException, CODEPORTING_ARGS(String message))
 
 Details_XmlSchemaValidationException (const String &message, Exception innerException)
 Initializes a new instance of the XmlSchemaValidationException class with the exception message and original Exception object that caused this exception specified. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaValidationException, CODEPORTING_ARGS(String message, Exception innerException))
 
 Details_XmlSchemaValidationException (const String &message, Exception innerException, int32_t lineNumber, int32_t linePosition)
 Initializes a new instance of the XmlSchemaValidationException 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_XmlSchemaValidationException, CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition))
 
- Protected Member Functions inherited from System::Xml::Schema::Details_XmlSchemaException
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))
 

Detailed Description

Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated.

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ Details_XmlSchemaValidationException() [1/4]

System::Xml::Schema::Details_XmlSchemaValidationException::Details_XmlSchemaValidationException ( )
protected

Initializes a new instance of the XmlSchemaValidationException class.

◆ Details_XmlSchemaValidationException() [2/4]

System::Xml::Schema::Details_XmlSchemaValidationException::Details_XmlSchemaValidationException ( const String message)
protected

Initializes a new instance of the XmlSchemaValidationException class with the exception message specified.

Parameters
messageA string description of the error condition.

◆ Details_XmlSchemaValidationException() [3/4]

System::Xml::Schema::Details_XmlSchemaValidationException::Details_XmlSchemaValidationException ( const String message,
Exception  innerException 
)
protected

Initializes a new instance of the XmlSchemaValidationException class with the exception message and original Exception object that caused this exception specified.

Parameters
messageA string description of the error condition.
innerExceptionThe original Exception object that caused this exception.

◆ Details_XmlSchemaValidationException() [4/4]

System::Xml::Schema::Details_XmlSchemaValidationException::Details_XmlSchemaValidationException ( const String message,
Exception  innerException,
int32_t  lineNumber,
int32_t  linePosition 
)
protected

Initializes a new instance of the XmlSchemaValidationException 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
messageA string description of the error condition.
innerExceptionThe original Exception object that caused this exception.
lineNumberThe line number of the XML that caused this exception.
linePositionThe line position of the XML that caused this exception.

Member Function Documentation

◆ DoThrow()

void System::Xml::Schema::Details_XmlSchemaValidationException::DoThrow ( const System::ExceptionPtr self) const
overrideprotected

Throws exception instance wrapped by exception wrapper.

Parameters
selfException instance to be thrown.

◆ get_SourceObject()

SharedPtr< Object > System::Xml::Schema::Details_XmlSchemaValidationException::get_SourceObject ( )

Returns the XML node that caused this XmlSchemaValidationException.

Returns
The XML node that caused this XmlSchemaValidationException.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/4]

System::Xml::Schema::Details_XmlSchemaValidationException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XmlSchemaValidationException  ,
CODEPORTING_ARGS()   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/4]

System::Xml::Schema::Details_XmlSchemaValidationException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XmlSchemaValidationException  ,
CODEPORTING_ARGS(String message)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/4]

System::Xml::Schema::Details_XmlSchemaValidationException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XmlSchemaValidationException  ,
CODEPORTING_ARGS(String message, Exception innerException)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [4/4]

System::Xml::Schema::Details_XmlSchemaValidationException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XmlSchemaValidationException  ,
CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition)   
)
protected