public class MojoExecutionException extends AbstractMojoExecutionException
longMessage, source| Constructor and Description | 
|---|
| MojoExecutionException(Object source,
                      String shortMessage,
                      String longMessage)Construct a new  MojoExecutionExceptionexception providing the source and a short and long message:
 these messages are used to improve the message written at the end of Maven build. | 
| MojoExecutionException(String message)Construct a new  MojoExecutionExceptionexception providing amessage. | 
| MojoExecutionException(String message,
                      Exception cause)Construct a new  MojoExecutionExceptionexception wrapping an underlyingExceptionand providing amessage. | 
| MojoExecutionException(String message,
                      Throwable cause)Construct a new  MojoExecutionExceptionexception wrapping an underlyingThrowableand providing amessage. | 
| MojoExecutionException(Throwable cause)Constructs a new  MojoExecutionExceptionexception wrapping an underlyingThrowable. | 
getLongMessage, getSourceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MojoExecutionException(Object source, String shortMessage, String longMessage)
MojoExecutionException exception providing the source and a short and long message:
 these messages are used to improve the message written at the end of Maven build.source - shortMessage - longMessage - public MojoExecutionException(String message, Exception cause)
MojoExecutionException exception wrapping an underlying Exception
 and providing a message.message - cause - public MojoExecutionException(String message, Throwable cause)
MojoExecutionException exception wrapping an underlying Throwable
 and providing a message.message - cause - public MojoExecutionException(String message)
MojoExecutionException exception providing a message.message - public MojoExecutionException(Throwable cause)
MojoExecutionException exception wrapping an underlying Throwable.cause - the cause which is saved for later retrieval by the Throwable.getCause() method.
              A null value is permitted, and indicates that the cause is nonexistent or unknown.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.