Exception: Metanorma::Plugin::Plantuml::JarNotFoundError

Inherits:
PlantumlError
  • Object
show all
Defined in:
lib/metanorma/plugin/plantuml/jar_not_found_error.rb

Instance Attribute Summary

Attributes inherited from PlantumlError

#original_error

Instance Method Summary collapse

Constructor Details

#initialize(jar_path = nil) ⇒ JarNotFoundError

Returns a new instance of JarNotFoundError.



9
10
11
12
13
14
15
16
# File 'lib/metanorma/plugin/plantuml/jar_not_found_error.rb', line 9

def initialize(jar_path = nil)
  message = if jar_path
              "PlantUML JAR file not found at: #{jar_path}"
            else
              "PlantUML JAR file not found"
            end
  super(message)
end