public class BuildExecutionException extends MyBuildException
MojoExecutionException
in org.m2latex.mojo.AbstractLatexMojo#execute()
to avoid maven-specific classes.
We read from the documentation which applies to this exception type also: A MojoExecutionException is a fatal exception, something unrecoverable happened. You would throw a MojoExecutionException if something happens that warrants a complete stop in a build; you re trying to write to disk, but there is no space left, or you were trying to publish to a remote repository, but you can’t connect to it. Throw a MojoExecutionException if there is no chance of a build continuing; something terrible has happened and you want the build to stop and the user to see a "BUILD ERROR" message.
A MojoExecutionException is thrown if an unexpected problem occurs (seems contradictuous). Created: Fri Sep 30 15:01:16 2016
| Constructor and Description |
|---|
BuildExecutionException(String message) |
BuildExecutionException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2016–2018 Simuline Organization (l2r). All rights reserved.