CodePorting.Translator.Cs2Cpp.Framework
System::Xml::XPath::Details_XPathException Class Reference

Provides the exception thrown when an error occurs while processing an XPath expression. More...

#include <xpath_exception.h>

Inherits Details_SystemException.

Public Types

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

Public Member Functions

String get_Message () const override
 Returns the description of the error condition for this exception. More...
 

Protected Member Functions

void DoThrow (const System::ExceptionPtr &self) const override
 Throws exception instance wrapped by exception wrapper. More...
 
 Details_XPathException ()
 Initializes a new instance of the XPathException class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XPathException, CODEPORTING_ARGS())
 
 Details_XPathException (const String &message)
 Initializes a new instance of the XPathException class with the specified exception message. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XPathException, CODEPORTING_ARGS(String message))
 
 Details_XPathException (const String &message, Exception innerException)
 Initializes a new instance of the XPathException class using the specified exception message and Exception object. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_XPathException, CODEPORTING_ARGS(String message, Exception innerException))
 

Detailed Description

Provides the exception thrown when an error occurs while processing an XPath expression.

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ Details_XPathException() [1/3]

System::Xml::XPath::Details_XPathException::Details_XPathException ( )
protected

Initializes a new instance of the XPathException class.

◆ Details_XPathException() [2/3]

System::Xml::XPath::Details_XPathException::Details_XPathException ( const String message)
protected

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

Parameters
messageThe description of the error condition.

◆ Details_XPathException() [3/3]

System::Xml::XPath::Details_XPathException::Details_XPathException ( const String message,
Exception  innerException 
)
protected

Initializes a new instance of the XPathException class using the specified exception message and Exception object.

Parameters
messageThe description of the error condition.
innerExceptionThe Exception that threw the XPathException, if any. This value can be nullptr.

Member Function Documentation

◆ DoThrow()

void System::Xml::XPath::Details_XPathException::DoThrow ( const System::ExceptionPtr self) const
overrideprotected

Throws exception instance wrapped by exception wrapper.

Parameters
selfException instance to be thrown.

◆ get_Message()

String System::Xml::XPath::Details_XPathException::get_Message ( ) const
override

Returns the description of the error condition for this exception.

Returns
The string description of the error condition for this exception.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/3]

System::Xml::XPath::Details_XPathException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XPathException  ,
CODEPORTING_ARGS()   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/3]

System::Xml::XPath::Details_XPathException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XPathException  ,
CODEPORTING_ARGS(String message)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/3]

System::Xml::XPath::Details_XPathException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_XPathException  ,
CODEPORTING_ARGS(String message, Exception innerException)   
)
protected