Exception: PmdTester::ProjectsParserException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/pmdtester/parsers/projects_parser.rb

Overview

When this exception is raised, it means that schema validate of ‘project-list’ xml file failed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ ProjectsParserException

Returns a new instance of ProjectsParserException.



33
34
35
# File 'lib/pmdtester/parsers/projects_parser.rb', line 33

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



31
32
33
# File 'lib/pmdtester/parsers/projects_parser.rb', line 31

def errors
  @errors
end