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

com.yandex.ydb.examples.basic_example.exceptions.NonRetriableErrorException Maven / Gradle / Ivy

There is a newer version: 1.10.8
Show newest version
package com.yandex.ydb.examples.basic_example.exceptions;

import java.util.Arrays;

import com.yandex.ydb.core.Status;


/**
 * @author Sergey Polovko
 */
public class NonRetriableErrorException extends RuntimeException {

    public NonRetriableErrorException(Status status) {
        super("code: " + status.getCode() + ", issues: " + Arrays.toString(status.getIssues()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy