Package top.focess.qq.api.command
Class CommandDuplicateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- top.focess.qq.api.command.CommandDuplicateException
-
- All Implemented Interfaces:
Serializable
public class CommandDuplicateException extends IllegalStateException
Thrown to indicate there is an existed command named this name- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommandDuplicateException(String name)Constructs a CommandDuplicateException
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CommandDuplicateException
public CommandDuplicateException(String name)
Constructs a CommandDuplicateException- Parameters:
name- the name of the duplicated command
-
-