com.quartercode.quarterbukkit.api.exception
Class NoDefaultCommandFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.quartercode.quarterbukkit.api.exception.GameException
              extended by com.quartercode.quarterbukkit.api.exception.NoCommandFoundException
                  extended by com.quartercode.quarterbukkit.api.exception.NoDefaultCommandFoundException
All Implemented Interfaces:
java.io.Serializable

public class NoDefaultCommandFoundException
extends NoCommandFoundException

The NoCommandFoundException represents an exception caused by a not registered default command.

See Also:
Serialized Form

Constructor Summary
NoDefaultCommandFoundException(org.bukkit.plugin.Plugin plugin, Command command, CommandExecutor commandExecutor)
          Creates a NoDefaultCommandFoundException filled with a Command and a CommandExecutor.
NoDefaultCommandFoundException(org.bukkit.plugin.Plugin plugin, Command command, CommandExecutor commandExecutor, java.lang.String message)
          Creates a NoDefaultCommandFoundException filled with a Command, a CommandExecutor and an informational message.
 
Method Summary
 
Methods inherited from class com.quartercode.quarterbukkit.api.exception.NoCommandFoundException
getCommand, getCommandExecutor
 
Methods inherited from class com.quartercode.quarterbukkit.api.exception.GameException
getPlugin
 
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

NoDefaultCommandFoundException

public NoDefaultCommandFoundException(org.bukkit.plugin.Plugin plugin,
                                      Command command,
                                      CommandExecutor commandExecutor)
Creates a NoDefaultCommandFoundException filled with a Command and a CommandExecutor.

Parameters:
plugin - The causing Plugin.
command - The not registered Command.
commandExecutor - The CommandExecutor which should execute the Command.

NoDefaultCommandFoundException

public NoDefaultCommandFoundException(org.bukkit.plugin.Plugin plugin,
                                      Command command,
                                      CommandExecutor commandExecutor,
                                      java.lang.String message)
Creates a NoDefaultCommandFoundException filled with a Command, a CommandExecutor and an informational message.

Parameters:
plugin - The causing Plugin.
command - The not registered Command.
commandExecutor - The CommandExecutor which should execute the Command.
message - The information message.