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
returns an error message including the missing path.
Constructor Details
#initialize(path) ⇒ NoJarsError
Returns a new instance of NoJarsError.
18 19 20 |
# File 'lib/saxon/loader.rb', line 18 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ Object
returns an error message including the missing path
23 24 25 |
# File 'lib/saxon/loader.rb', line 23 def to_s "The path ('#{@path}') you supplied for the Saxon .jar files doesn't exist, sorry" end |