debug step
This commit is contained in:
parent
d4dc85485d
commit
e734d5bc07
1 changed files with 6 additions and 7 deletions
|
@ -721,38 +721,37 @@ public class Presenter
|
|||
|
||||
// Parse the input file.
|
||||
result = db.parse (source);
|
||||
System.out.println("ZO4");
|
||||
|
||||
if (errorHandler.hasError ())
|
||||
{
|
||||
System.out.println("ZO4a");
|
||||
System.out.println("ZO4a");
|
||||
throw new Exception (errorHandler.toString ());
|
||||
}
|
||||
else
|
||||
{System.out.println("ZO4b");
|
||||
{
|
||||
DomPresenter.addMetaTag (result, "generator", "XID 0.0");
|
||||
}
|
||||
System.out.println("ZO5");
|
||||
}
|
||||
catch (ParserConfigurationException exception)
|
||||
{
|
||||
String errorMessage = "Parser configuration exception: " + exception.getMessage ();
|
||||
logger.error (errorMessage);
|
||||
result = null;
|
||||
throw new Exception (errorMessage);
|
||||
throw new Exception (errorMessage, exception);
|
||||
}
|
||||
catch (SAXException exception)
|
||||
{
|
||||
String errorMessage = "Error during SAX parsing: " + exception.getMessage ();
|
||||
logger.error (errorMessage);
|
||||
result = null;
|
||||
throw new Exception (errorMessage);
|
||||
throw new Exception (errorMessage, exception);
|
||||
}
|
||||
catch (IOException exception)
|
||||
{
|
||||
String errorMessage = "IOError during parsing." + exception.getMessage ();
|
||||
logger.error (errorMessage);
|
||||
result = null;
|
||||
throw new Exception (errorMessage);
|
||||
throw new Exception (errorMessage, exception);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue