com.elvyx.server.command
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.elvyx.server.command.CommandException
All Implemented Interfaces:
java.io.Serializable

public class CommandException
extends java.lang.Exception

Command exception.

Since:
1.0
Version:
$Revision: 1.1 $
Author:
Armando Perdomo
See Also:
Serialized Form

Constructor Summary
CommandException()
          Constructor for CommandException.
CommandException(java.lang.Class classCommand, java.lang.Exception exception)
          Constructor for CommandException.
CommandException(java.lang.String string)
          Constructor for CommandException.
CommandException(java.lang.String command, java.lang.Exception exception)
          Constructor for CommandException.
 
Method Summary
 java.lang.String getCommand()
          It return the command id
 
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()
Constructor for CommandException.


CommandException

public CommandException(java.lang.String string)
Constructor for CommandException.

Parameters:
string - Command Id

CommandException

public CommandException(java.lang.Class classCommand,
                        java.lang.Exception exception)
Constructor for CommandException.

Parameters:
classCommand - Command class
exception -

CommandException

public CommandException(java.lang.String command,
                        java.lang.Exception exception)
Constructor for CommandException.

Parameters:
command - Command Id
exception -
Method Detail

getCommand

public java.lang.String getCommand()
It return the command id

Returns:


Copyright © 2006-2008 Armando Perdomo. All Rights Reserved.