try {
Grammar g = parse(source,new ThrowController());
if(g==null)
// theoretically this isn't possible because we throw an exception
// if an error happens.
throw new VerifierConfigurationException("unable to parse the schema");
return new SchemaImpl(g,factory,usePanicMode);
} catch( WrapperException we ) {
throw we.e;
} catch( Exception pce ) {
throw new VerifierConfigurationException(pce);
}
}