public class IllegalUseOfCommandException extends RuntimeException
Basically, a command becomes "locked" after it is first started or added to a command group.
This exception should be thrown if (after a command has been locked) its requirements change, it is put into multiple command groups, it is started from outside its command group, or it adds a new child.
Constructor and Description |
---|
IllegalUseOfCommandException()
Instantiates an
IllegalUseOfCommandException . |
IllegalUseOfCommandException(String message)
Instantiates an
IllegalUseOfCommandException with the given message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalUseOfCommandException()
IllegalUseOfCommandException
.public IllegalUseOfCommandException(String message)
IllegalUseOfCommandException
with the given message.message
- the messageCopyright © 2015. All rights reserved.