Class IllegalTrySetVersionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.curator.framework.recipes.shared.IllegalTrySetVersionException
All Implemented Interfaces:
Serializable

public class IllegalTrySetVersionException extends IllegalArgumentException
Exception to alert overflowed Stat.getVersion() -1 which is not suitable in SharedValue.trySetValue(VersionedValue, byte[]) and SharedCount.trySetCount(VersionedValue, int).

In case of this exception, clients have to choose:

  • Take their own risk to do a blind set.
  • Update ZooKeeper cluster to solve ZOOKEEPER-4743.
See Also:
  • Constructor Details

    • IllegalTrySetVersionException

      public IllegalTrySetVersionException()
  • Method Details