Package eu.simuline.m2latex.core
Class BuildExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.simuline.m2latex.core.MyBuildException
-
- eu.simuline.m2latex.core.BuildExecutionException
-
- All Implemented Interfaces:
Serializable
public class BuildExecutionException extends MyBuildException
This is needed as a wrapper toMojoExecutionExceptioninMojo.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
- Version:
- 1.0
- Author:
- Ernst Reissner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildExecutionException(String message)BuildExecutionException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-