Removed hidden catch in close method.
This commit is contained in:
parent
e2678e4e9a
commit
7e25341585
1 changed files with 517 additions and 524 deletions
|
@ -1,5 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Copyright (C) 2013-2014 Christian Pierre MOMON
|
* Copyright (C) 2013-2014 Christian Pierre MOMON
|
||||||
|
* Copyright (C) 2017 Christian Pierre MOMON
|
||||||
*
|
*
|
||||||
* This file is part of Devinsy-utils.
|
* This file is part of Devinsy-utils.
|
||||||
*
|
*
|
||||||
|
@ -97,21 +98,13 @@ public class XMLReader
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws XMLStreamException
|
* @throws XMLStreamException
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void close()
|
public void close() throws XMLStreamException
|
||||||
{
|
{
|
||||||
if (this.in != null)
|
if (this.in != null)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
this.in.close();
|
this.in.close();
|
||||||
}
|
}
|
||||||
catch (XMLStreamException exception)
|
|
||||||
{
|
|
||||||
exception.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue