[Groovy] Class CommandException
- org.codehaus.groovy.tools.shell.CommandException
@CompileStatic @Deprecated class CommandException extends Exception
Thrown to indicate a problem with command execution.
Constructor Summary
Constructor and description |
---|
CommandException
(Command command, String msg) |
CommandException
(Command command, String msg, Throwable cause) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Command |
getCommand() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Exception | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructor Detail
CommandException(Command command, String msg)
CommandException(Command command, String msg, Throwable cause)
Method Detail
Command getCommand()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/tools/shell/CommandException.html