Exception: VCDOM::XPath::XPathException
- Inherits:
-
Exception
- Object
- Exception
- VCDOM::XPath::XPathException
- Defined in:
- lib/vcdom/xpath/xpath_exception.rb
Constant Summary collapse
- INVALID_EXPRESSION_ERR =
If the expression has a syntax error or otherwise is not a legal expression according to the rules of the specific XPathEvaluator or contains specialized extension functions or variables not supported by this implementation.
:invalid_expression_err
- TYPE_ERR =
If the expression cannot be converted to return the specified type.
:type_err
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, msg) ⇒ XPathException
constructor
A new instance of XPathException.
Constructor Details
#initialize(type, msg) ⇒ XPathException
Returns a new instance of XPathException.
16 17 18 19 |
# File 'lib/vcdom/xpath/xpath_exception.rb', line 16 def initialize( type, msg ) super msg @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
14 15 16 |
# File 'lib/vcdom/xpath/xpath_exception.rb', line 14 def type @type end |