Exception: Saxon::Loader::NoJarsError

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 exist or is not a directory

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NoJarsError

Returns a new instance of NoJarsError.



15
16
17
# File 'lib/saxon/loader.rb', line 15

def initialize(path)
  @path = path
end

Instance Method Details

#to_sObject



19
20
21
# File 'lib/saxon/loader.rb', line 19

def to_s
  "The path ('#{@path}') you supplied for the Saxon .jar files doesn't exist, sorry"
end