Package echo.exception
Class ExceptionHandler
- java.lang.Object
-
- echo.exception.ExceptionHandler
-
public final class ExceptionHandler extends java.lang.Object
Converts FailureExceptions to MojoFailureExceptions. The MojoFailureException will stop the maven build
-
-
Field Summary
Fields Modifier and Type Field Description private FailureException
fex
-
Constructor Summary
Constructors Constructor Description ExceptionHandler(FailureException fex)
Creates an ExceptionHandler with the exception to handle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
throwMojoFailureException()
Throw a MojoFailureException from the failure exception
-
-
-
Field Detail
-
fex
private final FailureException fex
-
-
Constructor Detail
-
ExceptionHandler
public ExceptionHandler(FailureException fex)
Creates an ExceptionHandler with the exception to handle
-
-