DESY ACOP Beans Home

com.cosylab.gui.components.table.cells
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cosylab.util.CommonException
              extended by com.cosylab.gui.components.table.cells.CommandException
All Implemented Interfaces:
CommonThrowable, java.io.Serializable

public class CommandException
extends CommonException

Common exception that occurs during command execution.

Version:
$id$
Author:
Igor Kriznar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.cosylab.util.CommonException
actions, caughtIn, helpID, host, instance, thread, timestamp, username, values
 
Constructor Summary
CommandException(TableCell instance, Command c, java.lang.String message, java.lang.Throwable cause)
          CommandException constructor comment.
 
Method Summary
 Command getCommand()
          Return command.
 TableCell getTableCell()
          Returns the cell that command was executed on.
 
Methods inherited from class com.cosylab.util.CommonException
caughtIn, getActions, getCaughtIn, getHelpID, getHost, getInstance, getParent, getThread, getTimestamp, getUsername, getValue, getValues, initialize, putValue, setActions, setHelpID
 
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
 
Methods inherited from interface com.cosylab.util.CommonThrowable
getMessage
 

Constructor Detail

CommandException

public CommandException(TableCell instance,
                        Command c,
                        java.lang.String message,
                        java.lang.Throwable cause)
CommandException constructor comment.

Parameters:
instance - cell which generated exception
c - command
message - exception message
cause - cause
Method Detail

getCommand

public Command getCommand()
Return command.

Returns:
command

getTableCell

public TableCell getTableCell()
Returns the cell that command was executed on.

Returns:
the comman owner


Copyright © 2010. All Rights Reserved.