Class ExceptionHandler

java.lang.Object
echo.exception.ExceptionHandler

public final class ExceptionHandler extends Object
Converts FailureExceptions to MojoFailureExceptions. The MojoFailureException will stop the maven build
  • Field Details

  • Constructor Details

    • ExceptionHandler

      public ExceptionHandler(FailureException fex)
      Creates an ExceptionHandler with the exception to handle
  • Method Details

    • throwMojoFailureException

      public void throwMojoFailureException() throws org.apache.maven.plugin.MojoFailureException
      Throw a MojoFailureException from the failure exception
      Throws:
      org.apache.maven.plugin.MojoFailureException