Module lettuce.core

Class 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 Details

    • PartitionException

      public PartitionException​(String msg)
      Create a PartitionException with the specified detail message.
      Parameters:
      msg - the detail message.
    • PartitionException

      public PartitionException​(String msg, Throwable cause)
      Create a PartitionException with the specified detail message and nested exception.
      Parameters:
      msg - the detail message.
      cause - the nested exception.
    • PartitionException

      public PartitionException​(Throwable cause)
      Create a PartitionException with the specified nested exception.
      Parameters:
      cause - the nested exception.