Module: IXMLDOMParseError
- Includes:
- WIN32OLE::VARIANT
- Defined in:
- sample/xml.rb
Overview
structure for reporting parser errors
Constant Summary
Constants included from WIN32OLE::VARIANT
WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT
Instance Attribute Summary collapse
-
#lastargs ⇒ Object
readonly
Returns the value of attribute lastargs.
Instance Method Summary collapse
-
#errorCode ⇒ Object
I4 errorCode the error code.
-
#filepos ⇒ Object
I4 filepos the absolute file position in the XML document containing the error.
-
#line ⇒ Object
I4 line the line number in the XML document where the error occurred.
-
#linepos ⇒ Object
I4 linepos the character position in the line containing the error.
-
#reason ⇒ Object
BSTR reason the cause of the error.
-
#srcText ⇒ Object
BSTR srcText the data where the error occurred.
-
#url ⇒ Object
BSTR url the URL of the XML document containing the error.
Instance Attribute Details
#lastargs ⇒ Object (readonly)
Returns the value of attribute lastargs
4552 4553 4554 |
# File 'sample/xml.rb', line 4552 def lastargs @lastargs end |
Instance Method Details
#errorCode ⇒ Object
I4 errorCode the error code
4556 4557 4558 4559 4560 |
# File 'sample/xml.rb', line 4556 def errorCode() ret = _getproperty(0, [], []) @lastargs = WIN32OLE::ARGV ret end |
#filepos ⇒ Object
I4 filepos the absolute file position in the XML document containing the error
4604 4605 4606 4607 4608 |
# File 'sample/xml.rb', line 4604 def filepos() ret = _getproperty(184, [], []) @lastargs = WIN32OLE::ARGV ret end |
#line ⇒ Object
I4 line the line number in the XML document where the error occurred
4588 4589 4590 4591 4592 |
# File 'sample/xml.rb', line 4588 def line() ret = _getproperty(182, [], []) @lastargs = WIN32OLE::ARGV ret end |
#linepos ⇒ Object
I4 linepos the character position in the line containing the error
4596 4597 4598 4599 4600 |
# File 'sample/xml.rb', line 4596 def linepos() ret = _getproperty(183, [], []) @lastargs = WIN32OLE::ARGV ret end |
#reason ⇒ Object
BSTR reason the cause of the error
4572 4573 4574 4575 4576 |
# File 'sample/xml.rb', line 4572 def reason() ret = _getproperty(180, [], []) @lastargs = WIN32OLE::ARGV ret end |