org.jagatoo.commands
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jagatoo.commands.CommandException
All Implemented Interfaces:
java.io.Serializable

public class CommandException
extends java.lang.Exception

A CommandException is a simple Exception, that is handled a little differently. If a CommandException is thrown by the Command.execute(Boolean, Object[]) method, then only its info text is displayed instead of the whole stack trace.

See Also:
Serialized Form

Constructor Summary
CommandException(java.lang.String message)
           
CommandException(java.lang.String message, java.lang.Throwable cause)
           
CommandException(java.lang.Throwable cause)
           
 
Method Summary
 
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(java.lang.String message,
                        java.lang.Throwable cause)

CommandException

public CommandException(java.lang.String message)

CommandException

public CommandException(java.lang.Throwable cause)