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
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 Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalTrySetVersionException
public IllegalTrySetVersionException()
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-