org.apache.maven.shared.utils.cli.javatool
Class JavaToolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
Version:
$Id: JavaToolException.html 955072 2015-06-16 23:06:34Z tibordigana $
Author:
Tony Chemit
See Also:
JavaToolResult.getExitCode(), Serialized Form

Constructor Summary
JavaToolException(String message)
           
JavaToolException(String message, Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String message)

JavaToolException

public JavaToolException(String message,
                         Throwable cause)


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.