Refactor NullPointerException to IllegalPointerException.

This commit is contained in:
Christian P. MOMON 2017-05-07 03:21:46 +02:00
parent b6ce9d85ca
commit 418e9243ca

View file

@ -167,7 +167,7 @@ public class XMLZipWriter extends XMLWriter
{
if (fileName == null)
{
throw new NullPointerException("fileName is null.");
throw new IllegalArgumentException("fileName is null.");
}
else
{