public class ShellMojoExecutionException
extends org.apache.maven.plugin.MojoExecutionException
Constructor and Description |
---|
ShellMojoExecutionException(String message,
int errorCode,
Collection<String> lastLines)
Constructs shell mojo exection exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
Collection<String> |
getLastLines() |
getLongMessage, getSource
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ShellMojoExecutionException(String message, int errorCode, Collection<String> lastLines)
message
- The message that will be prepended to a default mojo exectuion exception message.errorCode
- The error code.lastLines
- The collection of last lines that will be also part of the exception message.public int getErrorCode()
public Collection<String> getLastLines()
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.