com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException Maven / Gradle / Ivy
Show all versions of dynamodb-lock-client Show documentation
/**
* Copyright 2013-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/asl/
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express
* or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.dynamodbv2.model;
/**
* This is a retry-able exception, that indicates that the lock being requested has already been held by another worker
* and has not been released yet and the lease duration has not expired since the lock was last updated by the current
* owner.
*
* The caller can retry acquiring the lock with or without a backoff.
*
* @author Sathish kumar AC
*/
public class LockCurrentlyUnavailableException extends RuntimeException {
private static final long serialVersionUID = 661782974798613851L;
public LockCurrentlyUnavailableException() {
}
public LockCurrentlyUnavailableException(String message) {
super(message);
}
public LockCurrentlyUnavailableException(Throwable cause) {
super(cause);
}
public LockCurrentlyUnavailableException(String message,
Throwable cause) {
super(message, cause);
}
public LockCurrentlyUnavailableException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}