Exception: VCDOM::XPath::XPathException

Inherits:
Exception
  • Object
show all
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

Instance Method Summary collapse

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

#typeObject (readonly)

Returns the value of attribute type.



14
15
16
# File 'lib/vcdom/xpath/xpath_exception.rb', line 14

def type
  @type
end