Groovy 2.2.1

org.codehaus.groovy.tools.shell
[Java] Class CommandException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          org.codehaus.groovy.tools.shell.CommandException

public class CommandException
extends Exception

Thrown to indicate a problem with command execution.

Authors:
Jason Dillon
Version:
\$Id\$


Constructor Summary
CommandException(Command command, String msg)

CommandException(Command command, String msg, Throwable cause)

 
Method Summary
Command getCommand()

 
Methods inherited from class Exception
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, setStackTrace, getMessage, getLocalizedMessage, getStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Throwable
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, setStackTrace, getMessage, getLocalizedMessage, getStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

CommandException

public CommandException(Command command, String msg)


CommandException

public CommandException(Command command, String msg, Throwable cause)


 
Method Detail

getCommand

public Command getCommand()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.