catch (PrivilegedActionException pae)
{
Exception e = pae.getException();
if(e instanceof SAXException)
{
throw new FaceletException("Error Parsing " + alias + ": " + e.getMessage(), e.getCause());
}
else if(e instanceof IOException)
{
throw (IOException)e;
}
}
}
else
{
parser.parse(is, handler);
}
}
catch (SAXException e)
{
throw new FaceletException("Error Parsing " + alias + ": " + e.getMessage(), e.getCause());
}
catch (ParserConfigurationException e)
{
throw new FaceletException("Error Configuring Parser " + alias + ": " + e.getMessage(), e.getCause());
}
finally
{
if (is != null)
{