From 418e9243ca3c99ec10ef5d26cce53c5691763132 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 7 May 2017 03:21:46 +0200 Subject: [PATCH] Refactor NullPointerException to IllegalPointerException. --- src/fr/devinsy/util/xml/XMLZipWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/util/xml/XMLZipWriter.java b/src/fr/devinsy/util/xml/XMLZipWriter.java index 63e4ac8..6cc2073 100644 --- a/src/fr/devinsy/util/xml/XMLZipWriter.java +++ b/src/fr/devinsy/util/xml/XMLZipWriter.java @@ -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 {