Use MojoFailureException if you wish to continue with the build even
after you have encountered the exception.

MojoExecutionException will stop the build.

Cheers
Prasad

On 2/27/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote:
> On 2/27/06, Domsch, Christian <[EMAIL PROTECTED]> wrote:
>
> > What is the difference between MojoExecutionException and
> > MojoFailureException. When do you use which?
>
> The MojoFailureException doesn't accept throwables in the constructor.
> To me, it is intended to tell about user errors, for example
> misconfigurations, or the like. The MojoExecutionException is used for
> forwarding catched exceptions.
>
>
> --
> Whenever you find yourself on the side of the
> majority, it is time to pause and reflect.
> (Mark Twain)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to