public class MojoFailureException extends AbstractMojoExecutionException
longMessage, source| Constructor and Description | 
|---|
| MojoFailureException(Object source,
                    String shortMessage,
                    String longMessage)Construct a new  MojoFailureExceptionexception providing the source and a short and long message:
 these messages are used to improve the message written at the end of Maven build. | 
| MojoFailureException(String message)Construct a new  MojoFailureExceptionexception providing a message. | 
| MojoFailureException(String message,
                    Throwable cause)Construct a new  MojoFailureExceptionexception wrapping an underlyingThrowableand providing amessage. | 
| MojoFailureException(Throwable cause)Constructs a new  MojoFailureExceptionexception wrapping an underlyingThrowable. | 
getLongMessage, getSourceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MojoFailureException(Object source, String shortMessage, String longMessage)
MojoFailureException 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 MojoFailureException(String message)
MojoFailureException exception providing a message.message - public MojoFailureException(String message, Throwable cause)
MojoFailureException exception wrapping an underlying Throwable
 and providing a message.message - cause - public MojoFailureException(Throwable cause)
MojoFailureException 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.