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

Returns information about errors encountered by the XmlSchemaInference class while inferring a schema from an XML document. More...

#include <xml_schema_inference_exception.h>

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

Public Types

using Ptr = SharedPtr< XmlSchemaInferenceException >
 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...
 

Protected Member Functions

void DoThrow (const System::ExceptionPtr &self) const override
 Throws exception instance wrapped by exception wrapper. More...
 
 Details_XmlSchemaInferenceException ()
 Initializes a new instance of the XmlSchemaInferenceException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaInferenceException, CODEPORTING_ARGS())
 
 Details_XmlSchemaInferenceException (const String &message)
 Initializes a new instance of the XmlSchemaInferenceException class with the error message specified. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaInferenceException, CODEPORTING_ARGS(String message))
 
 Details_XmlSchemaInferenceException (const String &message, Exception innerException)
 Initializes a new instance of the XmlSchemaInferenceException class with the error message specified and the original Exception that caused the XmlSchemaInferenceException specified. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaInferenceException, CODEPORTING_ARGS(String message, Exception innerException))
 
 Details_XmlSchemaInferenceException (const String &message, Exception innerException, int32_t lineNumber, int32_t linePosition)
 Initializes a new instance of the XmlSchemaInferenceException class with the error message specified, the original Exception that caused the XmlSchemaInferenceException specified, and the line number and line position of the error in the XML document specified. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XmlSchemaInferenceException, 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))
 

Additional Inherited Members

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

Detailed Description

Returns information about errors encountered by the XmlSchemaInference class while inferring a schema from an XML document.

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ Details_XmlSchemaInferenceException() [1/4]

System::Xml::Schema::Details_XmlSchemaInferenceException::Details_XmlSchemaInferenceException ( )
protected

Initializes a new instance of the XmlSchemaInferenceException class.

◆ Details_XmlSchemaInferenceException() [2/4]

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

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified.

Parameters
messageA description of the error.

◆ Details_XmlSchemaInferenceException() [3/4]

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

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified and the original Exception that caused the XmlSchemaInferenceException specified.

Parameters
messageA description of the error.
innerExceptionAn Exception object containing the original exception that caused the XmlSchemaInferenceException.

◆ Details_XmlSchemaInferenceException() [4/4]

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

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified, the original Exception that caused the XmlSchemaInferenceException specified, and the line number and line position of the error in the XML document specified.

Parameters
messageA description of the error.
innerExceptionAn Exception object containing the original exception that caused the XmlSchemaInferenceException.
lineNumberThe line number in the XML document that caused the XmlSchemaInferenceException.
linePositionThe line position in the XML document that caused the XmlSchemaInferenceException.

Member Function Documentation

◆ DoThrow()

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

Throws exception instance wrapped by exception wrapper.

Parameters
selfException instance to be thrown.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/4]

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

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/4]

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

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/4]

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

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [4/4]

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