Exception: Saxon::Loader::MissingJarError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/saxon/loader.rb

Overview

Error raised if Saxon::Loader.load! is called but the path handed in does not contain the Saxon .jars

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MissingJarError

Returns a new instance of MissingJarError.



27
28
29
# File 'lib/saxon/loader.rb', line 27

def initialize(path)
  @path = path
end

Instance Method Details

#to_sObject



31
32
33
# File 'lib/saxon/loader.rb', line 31

def to_s
  "One of saxon9he.jar, saxon9pe.jar, or saxon9ee.jar must be present in the path ('#{@path}') you supplied, sorry"
end