Removed hidden catch in close method.

This commit is contained in:
Christian P. MOMON 2017-04-19 22:38:50 +02:00
parent e2678e4e9a
commit 7e25341585

View file

@ -1,5 +1,6 @@
/**
* Copyright (C) 2013-2014 Christian Pierre MOMON
* Copyright (C) 2017 Christian Pierre MOMON
*
* This file is part of Devinsy-utils.
*
@ -97,21 +98,13 @@ public class XMLReader
/**
* @throws XMLStreamException
*
*/
public void close()
public void close() throws XMLStreamException
{
if (this.in != null)
{
try
{
this.in.close();
}
catch (XMLStreamException exception)
{
exception.printStackTrace();
}
}
}
/**