diff --git a/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java b/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java index 7b476846..194978f8 100644 --- a/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java +++ b/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java @@ -330,7 +330,7 @@ public void run() { if ( threadGroup.uncaughtException != null ) { - throw new MojoExecutionException( "An exception occured while executing the Java class. " + throw new MojoExecutionException( "An exception occurred while executing the Java class. " + threadGroup.uncaughtException.getMessage(), threadGroup.uncaughtException ); } }