jenom @Override
authorFrantišek Kučera <franta-hg@frantovo.cz>
Wed Oct 12 19:43:13 2011 +0200 (2011-10-12)
changeset 195eb9bdedaedcf
parent 194 4e65c1fe5e59
child 196 27b751390163
jenom @Override
java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java
     1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java	Thu Jul 21 22:36:53 2011 +0200
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/util/Komentare.java	Wed Oct 12 19:43:13 2011 +0200
     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;