org.apache.maven.plugin
Class MojoFailureException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           org.apache.maven.plugin.AbstractMojoExecutionException
org.apache.maven.plugin.AbstractMojoExecutionException
               org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException
- All Implemented Interfaces: 
- Serializable
- public class MojoFailureException 
- extends AbstractMojoExecutionException
An exception occuring during the execution of a plugin (such as a compilation failure).
 
 Throwing this exception causes a "BUILD FAILURE" message to be displayed.
- Author:
- Brett Porter
- See Also:
- Serialized Form
 
 
 
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
MojoFailureException
public MojoFailureException(Object source,
                            String shortMessage,
                            String longMessage)
- Construct a new MojoFailureExceptionexception providing the source and a short and long message.
 
- Parameters:
- source-
- shortMessage-
- longMessage-
 
MojoFailureException
public MojoFailureException(String message)
- Construct a new MojoFailureExceptionexception providing a message.
 
- Parameters:
- message-
 
MojoFailureException
public MojoFailureException(String message,
                            Throwable cause)
- Construct a new MojoFailureExceptionexception wrapping an underlyingThrowableand providing amessage.
 
- Parameters:
- message-
- cause-
- Since:
- 2.0.9
 
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.