We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1c1db6 commit 2902d0dCopy full SHA for 2902d0d
src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
@@ -692,10 +692,10 @@ protected static List<String> getTagletClassNames(File jarFile)
692
*/
693
protected static void copyResource(URL url, File file) throws IOException {
694
if (file == null) {
695
- throw new IOException("The file can't be null.");
+ throw new NullPointerException("The file can't be null.");
696
}
697
if (url == null) {
698
- throw new IOException("The url could not be null.");
+ throw new NullPointerException("The url could not be null.");
699
700
701
FileUtils.copyURLToFile(url, file);
0 commit comments