Class AbstractMojoExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.plugin.AbstractMojoExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MojoExecutionException, MojoFailureException

public abstract class AbstractMojoExecutionException extends Exception
Base exception.
Author:
Brett Porter
See Also:
  • Field Details

    • source

      protected Object source
    • longMessage

      protected String longMessage
  • Constructor Details

    • AbstractMojoExecutionException

      public AbstractMojoExecutionException(String message)
    • AbstractMojoExecutionException

      public AbstractMojoExecutionException(String message, Throwable cause)
    • AbstractMojoExecutionException

      public AbstractMojoExecutionException(Throwable cause)
      Constructs a new AbstractMojoExecutionException exception wrapping an underlying Throwable.
      Parameters:
      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.
      Since:
      3.8.3
  • Method Details

    • getLongMessage

      public String getLongMessage()
    • getSource

      public Object getSource()