All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oracle.nosql.driver.RetryableException Maven / Gradle / Ivy

There is a newer version: 5.4.16
Show newest version
/*-
 * Copyright (c) 2011, 2020 Oracle and/or its affiliates.  All rights reserved.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 *  https://oss.oracle.com/licenses/upl/
 */

package oracle.nosql.driver;

/**
 * A base exception for all exceptions that may be retried with a reasonable
 * expectation that they may succeed on retry.
 */
public class RetryableException extends NoSQLException {

    private static final long serialVersionUID = 1L;

    /**
     * @hidden
     */
    protected RetryableException(String msg) {
        super(msg);
    }

    @Override
    public boolean okToRetry() {
        return true;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy