Exception: XmlSpec::XmlSyntaxError
- Defined in:
- lib/xml_spec/errors.rb
Instance Method Summary collapse
-
#initialize(e = nil) ⇒ XmlSyntaxError
constructor
A new instance of XmlSyntaxError.
- #to_s ⇒ Object
Constructor Details
#initialize(e = nil) ⇒ XmlSyntaxError
Returns a new instance of XmlSyntaxError.
7 8 9 10 |
# File 'lib/xml_spec/errors.rb', line 7 def initialize( e=nil ) super e set_backtrace e.backtrace if e end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/xml_spec/errors.rb', line 12 def to_s "Invalid XML" end |