Class JavaToolException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JavaToolException
    extends java.lang.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:
    JavaToolResult.getExitCode(), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaToolException​(java.lang.String message)  
      JavaToolException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JavaToolException

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

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