Package org.apache.maven.api.cli
Class InvokerException.ExitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.maven.api.services.MavenException
org.apache.maven.api.cli.InvokerException
org.apache.maven.api.cli.InvokerException.ExitException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- InvokerException
Exception for intentional exit: No message or anything will be displayed, just the
carried exit code will be returned from invoker
Invoker.invoke(InvokerRequest)
method.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.api.cli.InvokerException
InvokerException.ExitException
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExitException
public ExitException(int exitCode)
-
-
Method Details
-
getExitCode
public int getExitCode()
-