Package io.lettuce.core.cluster
Class PartitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.lettuce.core.RedisException
-
- io.lettuce.core.cluster.PartitionException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PartitionSelectorException
,UnknownPartitionException
public class PartitionException extends RedisException
Partition access exception thrown when a partition-specific operations fails.- Since:
- 5.1
- Author:
- Mark Paluch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartitionException(String msg)
Create aPartitionException
with the specified detail message.PartitionException(String msg, Throwable cause)
Create aPartitionException
with the specified detail message and nested exception.PartitionException(Throwable cause)
Create aPartitionException
with the specified nested exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PartitionException
public PartitionException(String msg)
Create aPartitionException
with the specified detail message.- Parameters:
msg
- the detail message.
-
PartitionException
public PartitionException(String msg, Throwable cause)
Create aPartitionException
with the specified detail message and nested exception.- Parameters:
msg
- the detail message.cause
- the nested exception.
-
PartitionException
public PartitionException(Throwable cause)
Create aPartitionException
with the specified nested exception.- Parameters:
cause
- the nested exception.
-
-