Package io.manebot.command.exception
Class CommandArgumentCastException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.manebot.chat.exception.ChatException
-
- io.manebot.command.exception.CommandExecutionException
-
- io.manebot.command.exception.CommandArgumentException
-
- io.manebot.command.exception.CommandArgumentCastException
-
- All Implemented Interfaces:
java.io.Serializable
public class CommandArgumentCastException extends CommandArgumentException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommandArgumentCastException.Level
-
Constructor Summary
Constructors Constructor Description CommandArgumentCastException(java.lang.Exception cause, CommandArgumentCastException.Level level)
CommandArgumentCastException(java.lang.String message, CommandArgumentCastException.Level level)
-
Method Summary
Modifier and Type Method Description CommandArgumentCastException.Level
getLevel()
-
Methods inherited from class io.manebot.command.exception.CommandExecutionException
getLocalizedMessage, getMessage
-
-
-
-
Constructor Detail
-
CommandArgumentCastException
public CommandArgumentCastException(java.lang.String message, CommandArgumentCastException.Level level)
-
CommandArgumentCastException
public CommandArgumentCastException(java.lang.Exception cause, CommandArgumentCastException.Level level)
-
-
Method Detail
-
getLevel
public CommandArgumentCastException.Level getLevel()
-
-