Refactor NullPointerException to IllegalPointerException.
This commit is contained in:
parent
b6ce9d85ca
commit
418e9243ca
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ public class XMLZipWriter extends XMLWriter
|
||||||
{
|
{
|
||||||
if (fileName == null)
|
if (fileName == null)
|
||||||
{
|
{
|
||||||
throw new NullPointerException("fileName is null.");
|
throw new IllegalArgumentException("fileName is null.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue