Package io.pravega.client.tables
Class BadKeyVersionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.pravega.client.tables.ConditionalTableUpdateException
-
- io.pravega.client.tables.BadKeyVersionException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadKeyVersionException extends ConditionalTableUpdateException
Exception that is thrown whenever a conditionalKeyValueTableupdate failed due to the provided key version mismatching. This is different fromNoSuchKeyException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadKeyVersionException(java.lang.String tableName)Creates a new instance of theBadKeyVersionExceptionclass.BadKeyVersionException(java.lang.String tableName, java.lang.String message)Creates a new instance of theBadKeyVersionExceptionclass.
-
Method Summary
-
Methods inherited from class io.pravega.client.tables.ConditionalTableUpdateException
getTableName
-
-
-
-
Constructor Detail
-
BadKeyVersionException
public BadKeyVersionException(java.lang.String tableName)
Creates a new instance of theBadKeyVersionExceptionclass.- Parameters:
tableName- The name of theKeyValueTableaffected.
-
BadKeyVersionException
public BadKeyVersionException(java.lang.String tableName, java.lang.String message)Creates a new instance of theBadKeyVersionExceptionclass.- Parameters:
tableName- The name of theKeyValueTableaffected.message- The message to add.
-
-