File tree Expand file tree Collapse file tree
src/main/java/com/jcabi/xml Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,36 +25,30 @@ final class ConsoleErrorListener implements ErrorListener {
2525 new CopyOnWriteArrayList <>();
2626
2727 @ Override
28- public void warning (final TransformerException warning )
29- throws TransformerException {
28+ public void warning (final TransformerException warning ) {
3029 Logger .warn (
3130 this , "#warning(): %s" ,
3231 warning .getMessageAndLocation ()
3332 );
3433 this .errors .add (warning .getMessageAndLocation ());
35- throw warning ;
3634 }
3735
3836 @ Override
39- public void error (final TransformerException error )
40- throws TransformerException {
37+ public void error (final TransformerException error ) {
4138 Logger .error (
4239 this , "#error(): %s" ,
4340 error .getMessageAndLocation ()
4441 );
4542 this .errors .add (error .getMessageAndLocation ());
46- throw error ;
4743 }
4844
4945 @ Override
50- public void fatalError (final TransformerException error )
51- throws TransformerException {
46+ public void fatalError (final TransformerException error ) {
5247 Logger .error (
5348 this , "#fatalError(): %s" ,
5449 error .getMessageAndLocation ()
5550 );
5651 this .errors .add (error .getMessageAndLocation ());
57- throw error ;
5852 }
5953
6054 /**
You can’t perform that action at this time.
0 commit comments