Class JavaToolException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.shared.utils.cli.javatool.JavaToolException
All Implemented Interfaces:
Serializable

public class JavaToolException extends Exception

Signals an error during the construction of the command line used to invoke java tool, e.g. illegal invocation arguments.

This should not be confused with a failure of the invoked java tool build itself which will be reported by means of a non-zero exit code.

Since:
0.5
Author:
Tony Chemit
See Also:
  • Constructor Details

    • JavaToolException

      public JavaToolException(String message)
      Parameters:
      message - The message of the exception.
    • JavaToolException

      public JavaToolException(String message, Throwable cause)
      Parameters:
      message - The message of the exception.
      cause - The cause of the exception.