in src/main/java/org/apache/maven/shared/verifier/Verifier.java [1522:1551]
public void parse( File file )
throws VerificationException
{
try
{
SAXParserFactory saxFactory = SAXParserFactory.newInstance();
SAXParser parser = saxFactory.newSAXParser();
InputSource is = new InputSource( new FileInputStream( file ) );
parser.parse( is, this );
}
catch ( FileNotFoundException e )
{
throw new VerificationException( "file not found path : " + file.getAbsolutePath(), e );
}
catch ( IOException e )
{
throw new VerificationException( " IOException path : " + file.getAbsolutePath(), e );
}
catch ( ParserConfigurationException e )
{
throw new VerificationException( e );
}
catch ( SAXException e )
{
throw new VerificationException( "Parsing exception for file " + file.getAbsolutePath(), e );
}
}