Searched refs:PolicyXmlException (Results 1 – 3 of 3) sorted by relevance
461 } catch (IOException | XmlPullParserException | PolicyXmlException e) { in readPowerPolicyConfiguration()468 void readPowerPolicyFromXml(InputStream stream) throws PolicyXmlException, in readPowerPolicyFromXml()480 throw new PolicyXmlException("invalid XML version: " + version); in readPowerPolicyFromXml()510 throw new PolicyXmlException("unknown tag: " + parser.getName() + " under " in readPowerPolicyFromXml()528 throws XmlPullParserException, IOException, PolicyXmlException { in parseCustomComponents()539 throw new PolicyXmlException( in parseCustomComponents()545 throw new PolicyXmlException( in parseCustomComponents()554 throws PolicyXmlException, XmlPullParserException, IOException { in parsePolicies()562 throw new PolicyXmlException("no |" + ATTR_ID + "| attribute of |" + TAG_POLICY in parsePolicies()566 throw new PolicyXmlException("Policy ID should not start with " in parsePolicies()[all …]
349 throws IOException, PolicyReader.PolicyXmlException, XmlPullParserException { in readPowerPolicyFromXml()
427 assertThrows(PolicyReader.PolicyXmlException.class, () -> readPowerPolicyXml(id)); in assertInvalidXml()