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 conditionalKeyValueTable
update 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 theBadKeyVersionException
class.BadKeyVersionException(java.lang.String tableName, java.lang.String message)
Creates a new instance of theBadKeyVersionException
class.
-
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 theBadKeyVersionException
class.- Parameters:
tableName
- The name of theKeyValueTable
affected.
-
BadKeyVersionException
public BadKeyVersionException(java.lang.String tableName, java.lang.String message)
Creates a new instance of theBadKeyVersionException
class.- Parameters:
tableName
- The name of theKeyValueTable
affected.message
- The message to add.
-
-