java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java
changeset 196 27b751390163
parent 145 0efefbf5f8b6
child 197 40b7aa9126d0
     1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java	Sun Jun 20 14:46:47 2010 +0200
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java	Mon Nov 07 20:31:08 2011 +0100
     1.3 @@ -85,10 +85,12 @@
     1.4  			DocumentBuilder db = tovarnaDB.newDocumentBuilder();
     1.5  			db.setErrorHandler(new ErrorHandler() {
     1.6  
     1.7 +				@Override
     1.8  				public void warning(SAXParseException e) throws SAXException {
     1.9  					throw e;
    1.10  				}
    1.11  
    1.12 +				@Override
    1.13  				public void error(SAXParseException e) throws SAXException {
    1.14  					/**
    1.15  					 * neodpovídá schématu
    1.16 @@ -97,6 +99,7 @@
    1.17  					throw e;
    1.18  				}
    1.19  
    1.20 +				@Override
    1.21  				public void fatalError(SAXParseException e) throws SAXException {
    1.22  					/** invalidní XML – neuzavřené značky atd. */
    1.23  					throw e;