public class MojoFailureException extends AbstractMojoExecutionException
longMessage, source
Constructor and Description |
---|
MojoFailureException(Object source,
String shortMessage,
String longMessage)
Construct a new
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. |
MojoFailureException(String message)
Construct a new
MojoFailureException exception providing a message. |
MojoFailureException(String message,
Throwable cause)
Construct a new
MojoFailureException exception wrapping an underlying Throwable
and providing a message . |
MojoFailureException(Throwable cause)
Constructs a new
MojoFailureException exception wrapping an underlying Throwable . |
getLongMessage, getSource
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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–2021 The Apache Software Foundation. All rights reserved.