public class BadKeyVersionException extends ConditionalTableUpdateException
KeyValueTable
update failed due to the provided key version
mismatching. This is different from NoSuchKeyException
.Constructor and Description |
---|
BadKeyVersionException(java.lang.String tableName)
Creates a new instance of the
BadKeyVersionException class. |
BadKeyVersionException(java.lang.String tableName,
java.lang.String message)
Creates a new instance of the
BadKeyVersionException class. |
getTableName
public BadKeyVersionException(java.lang.String tableName)
BadKeyVersionException
class.tableName
- The name of the KeyValueTable
affected.public BadKeyVersionException(java.lang.String tableName, java.lang.String message)
BadKeyVersionException
class.tableName
- The name of the KeyValueTable
affected.message
- The message to add.