Lines Matching full:raise
89 :raise OSError: For problems reading the root schema document.
90 :raise QAPIError: For errors in the schema source.
124 # May raise OSError; allow the caller to handle it.
144 raise QAPISemError(
150 raise QAPISemError(info, "invalid 'include' directive")
153 raise QAPISemError(info,
166 raise QAPISemError(info, "invalid 'pragma' directive")
169 raise QAPISemError(
175 raise QAPISemError(
189 raise QAPISemError(
205 raise QAPISemError(info, "inclusion loop for %s" % include)
215 raise QAPISemError(
226 raise QAPISemError(
235 raise QAPISemError(info,
247 raise QAPISemError(info, "unknown pragma '%s'" % name)
318 raise QAPIParseError(self, "missing terminating \"'\"")
323 raise QAPIParseError(self,
333 raise QAPIParseError(
355 raise QAPIParseError(self, "stray '%s'" % match.group(0))
363 raise QAPIParseError(self, "expected string or '}'")
370 raise QAPIParseError(self, "expected ':'")
373 raise QAPIParseError(self, "duplicate key '%s'" % key)
379 raise QAPIParseError(self, "expected ',' or '}'")
382 raise QAPIParseError(self, "expected string")
390 raise QAPIParseError(
398 raise QAPIParseError(self, "expected ',' or ']'")
414 raise QAPIParseError(
420 raise QAPIParseError(
426 raise QAPIParseError(
432 raise QAPIParseError(self, "missing space after #")
464 raise QAPIParseError(
483 raise QAPIParseError(
491 raise QAPIParseError(self, "line should end with ':'")
497 raise QAPIParseError(self, "name required after '@'")
513 raise QAPIParseError(
528 raise QAPIParseError(
534 raise QAPIParseError(
568 raise QAPIParseError(self, emsg)
576 raise QAPIParseError(self, emsg)
585 raise QAPIParseError(
600 raise QAPIParseError(
606 raise QAPIParseError(
684 raise QAPISemError(
701 raise QAPISemError(
706 raise QAPISemError(
711 raise QAPISemError(
720 raise QAPISemError(info, "invalid parameter name")
722 raise QAPISemError(info, "'%s' parameter name duplicated" % name)
740 raise QAPISemError(member.info,
749 raise QAPISemError(feature.info,
757 raise QAPISemError(
762 raise QAPISemError(
766 raise QAPISemError(
778 raise QAPISemError(