public class MojoExecutionException extends AbstractMojoExecutionException
longMessage, source
Constructor and Description |
---|
MojoExecutionException(Object source,
String shortMessage,
String longMessage)
Construct a new
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. |
MojoExecutionException(String message)
Construct a new
MojoExecutionException exception providing a message . |
MojoExecutionException(String message,
Exception cause)
Construct a new
MojoExecutionException exception wrapping an underlying Exception
and providing a message . |
MojoExecutionException(String message,
Throwable cause)
Construct a new
MojoExecutionException 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 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
- Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.