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

tech.ydb.jdbc.exception.YdbExecutionStatusException Maven / Gradle / Ivy

There is a newer version: 2.3.5
Show newest version
package tech.ydb.jdbc.exception;

import tech.ydb.core.StatusCode;

public class YdbExecutionStatusException extends YdbExecutionException {
    private static final long serialVersionUID = 4476269562160877309L;

    private final StatusCode statusCode;

    public YdbExecutionStatusException(String message, StatusCode statusCode) {
        super(message, null, statusCode.getCode());
        this.statusCode = statusCode;
    }

    public StatusCode getStatusCode() {
        return statusCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy