diff -r 0efefbf5f8b6 -r 27b751390163 java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java Sun Jun 20 14:46:47 2010 +0200 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java Mon Nov 07 20:31:08 2011 +0100 @@ -85,10 +85,12 @@ DocumentBuilder db = tovarnaDB.newDocumentBuilder(); db.setErrorHandler(new ErrorHandler() { + @Override public void warning(SAXParseException e) throws SAXException { throw e; } + @Override public void error(SAXParseException e) throws SAXException { /** * neodpovídá schématu @@ -97,6 +99,7 @@ throw e; } + @Override public void fatalError(SAXParseException e) throws SAXException { /** invalidní XML – neuzavřené značky atd. */ throw e;