Home
last modified time | relevance | path

Searched refs:BadStructureException (Results 1 – 2 of 2) sorted by relevance

/art/tools/checker/match/
Dfile.py33 class BadStructureException(Exception): class
102 raise BadStructureException("Missing CHECK-FI", -1)
118 raise BadStructureException("CHECK-ELIF must be after CHECK-IF or CHECK-ELIF",
121 raise BadStructureException("CHECK-ELIF cannot be after CHECK-ELSE", statement.line_no)
134 raise BadStructureException("CHECK-ELSE must be after CHECK-IF or CHECK-ELIF",
137 raise BadStructureException("Consecutive CHECK-ELSE statements", statement.line_no)
149 raise BadStructureException("CHECK-FI does not have a matching CHECK-IF", statement.line_no)
267 raise BadStructureException("A next-line statement can only be placed "
Dtest.py19 from match.file import match_test_case, MatchFailedException, BadStructureException
155 with self.assertRaises(BadStructureException):