|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.quartercode.quarterbukkit.api.exception.GameException
com.quartercode.quarterbukkit.api.exception.NoCommandFoundException
public class NoCommandFoundException
The NoCommandFoundException represents an exception caused by a not registered command.
| Constructor Summary | |
|---|---|
NoCommandFoundException(org.bukkit.plugin.Plugin plugin,
Command command,
CommandExecutor commandExecutor)
Creates a NoCommandFoundException filled with a Command and a CommandExecutor. |
|
NoCommandFoundException(org.bukkit.plugin.Plugin plugin,
Command command,
CommandExecutor commandExecutor,
java.lang.String message)
Creates a NoCommandFoundException filled with a Command, a CommandExecutor and an informational message. |
|
| Method Summary | |
|---|---|
Command |
getCommand()
Returns the not registered Command. |
CommandExecutor |
getCommandExecutor()
Returns the CommandExecutor which should execute the Command. |
| 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 |
|---|
public NoCommandFoundException(org.bukkit.plugin.Plugin plugin,
Command command,
CommandExecutor commandExecutor)
Command and a CommandExecutor.
plugin - The causing Plugin.command - The not registered Command.commandExecutor - The CommandExecutor which should execute the Command.
public NoCommandFoundException(org.bukkit.plugin.Plugin plugin,
Command command,
CommandExecutor commandExecutor,
java.lang.String message)
Command, a CommandExecutor and an informational message.
plugin - The causing Plugin.command - The not registered Command.commandExecutor - The CommandExecutor which should execute the Command.message - The information message.| Method Detail |
|---|
public Command getCommand()
Command.
Command.public CommandExecutor getCommandExecutor()
CommandExecutor which should execute the Command.
CommandExecutor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||