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 . |
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
- Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.