Exception: Saxon::Loader::NoJarsError
- Inherits:
-
StandardError
- Object
- StandardError
- Saxon::Loader::NoJarsError
- 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
-
#initialize(path) ⇒ NoJarsError
constructor
A new instance of NoJarsError.
- #to_s ⇒ Object
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_s ⇒ Object
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 |