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 aPartitionExceptionwith the specified detail message.PartitionException(String msg, Throwable cause)Create aPartitionExceptionwith the specified detail message and nested exception.PartitionException(Throwable cause)Create aPartitionExceptionwith 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 Details
-
PartitionException
Create aPartitionExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
PartitionException
Create aPartitionExceptionwith the specified detail message and nested exception.- Parameters:
msg- the detail message.cause- the nested exception.
-
PartitionException
Create aPartitionExceptionwith the specified nested exception.- Parameters:
cause- the nested exception.
-