Package io.lettuce.core.dynamic
Class CommandMethodSyntaxException
- 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 newCommandMethodSyntaxException
givenCommandMethod
and a message.
-
Method Summary
-
Methods inherited from class io.lettuce.core.dynamic.CommandCreationException
getCommandMethod
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CommandMethodSyntaxException
public CommandMethodSyntaxException(CommandMethod commandMethod, String msg)
Create a newCommandMethodSyntaxException
givenCommandMethod
and a message.- Parameters:
commandMethod
- must not benull
.msg
- must not benull
.
-
-