Skip to content

Commit 02710fd

Browse files
committed
move
1 parent a5fdd59 commit 02710fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,9 @@ protected static void invokeMaven(
861861
throw new MavenInvocationException(
862862
"Error when invoking Maven, consult the invoker log file: " + invokerLog.getAbsolutePath());
863863
} catch (IOException ex) {
864-
throw new MavenInvocationException(ERROR_INIT_VM);
864+
// ignore
865865
}
866+
throw new MavenInvocationException(ERROR_INIT_VM);
866867
}
867868
}
868869

@@ -871,7 +872,7 @@ protected static void invokeMaven(
871872
*
872873
* @param javaFile the file to read; not null
873874
* @param encoding a character set name; not null
874-
* @return the content of the given java file using the given encoding; null if an IOException occurs
875+
* @return the content of the given file using the given encoding; null if an IOException occurs
875876
* @since 2.6.1
876877
* @throws java.nio.charset.UnsupportedCharsetException if the named charset is not supported
877878
* @throws NullPointerException if the javaFile or encoding is null

0 commit comments

Comments
 (0)