java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.lettuce.core.RedisException
io.lettuce.core.dynamic.CommandCreationException
io.lettuce.core.dynamic.CommandMethodSyntaxException
- All Implemented Interfaces:
Serializable
public class CommandMethodSyntaxException extends CommandCreationException
Exception thrown if the command syntax is invalid.
- Since:
- 5.0
- Author:
- Mark Paluch
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CommandMethodSyntaxException(CommandMethod commandMethod, String msg)Create a newCommandMethodSyntaxExceptiongivenCommandMethodand a message. -
Method Summary
Methods inherited from class io.lettuce.core.dynamic.CommandCreationException
getCommandMethodMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandMethodSyntaxException
Create a newCommandMethodSyntaxExceptiongivenCommandMethodand a message.- Parameters:
commandMethod- must not benull.msg- must not benull.
-