Class: JEXML::MyErrorHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/jexml/document.rb

Overview

Implementation class for catching validation errors.

Instance Method Summary collapse

Instance Method Details

#error(e) ⇒ Object



108
109
110
# File 'lib/jexml/document.rb', line 108

def error(e)
  raise "#{e}"
end

#fatalError(e) ⇒ Object



104
105
106
# File 'lib/jexml/document.rb', line 104

def fatalError(e)
  raise "#{e}"
end

#warning(e) ⇒ Object



112
113
114
# File 'lib/jexml/document.rb', line 112

def warning(e)
  raise "#{e}"
end