org.codehaus.groovy.tools.shell
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codehaus.groovy.tools.shell.CommandException
All Implemented Interfaces:
Serializable

public class CommandException
extends Exception

Thrown to indicate a problem with command execution.

Version:
$Id$
Author:
Jason Dillon
See Also:
Serialized Form

Constructor Summary
CommandException(Command command, String msg)
           
CommandException(Command command, String msg, Throwable cause)
           
 
Method Summary
 Command getCommand()
           
 
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

CommandException

public CommandException(Command command,
                        String msg)

CommandException

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

getCommand

public Command getCommand()

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