Skip to content

Commit b2b9196

Browse files
[MCOMPILER-574] Propagate cause of exception in AbstractCompilerMojo
1 parent 6d2ce5a commit b2b9196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ public void execute() throws MojoExecutionException, CompilationFailureException
720720
try {
721721
compiler = compilerManager.getCompiler(compilerId);
722722
} catch (NoSuchCompilerException e) {
723-
throw new MojoExecutionException("No such compiler '" + e.getCompilerId() + "'.");
723+
throw new MojoExecutionException("No such compiler '" + e.getCompilerId() + "'.", e);
724724
}
725725

726726
// -----------toolchains start here ----------------------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy