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.



29
30
31
# File 'lib/pmdtester/parsers/projects_parser.rb', line 29

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



27
28
29
# File 'lib/pmdtester/parsers/projects_parser.rb', line 27

def errors
  @errors
end