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

tech.ydb.yoj.repository.db.exception.IllegalTransactionIsolationLevelException Maven / Gradle / Ivy

Go to download

Core YOJ (YDB ORM for Java) abstractions and APIs for domain entities, repositories, transactions etc.

The newest version!
package tech.ydb.yoj.repository.db.exception;

import tech.ydb.yoj.repository.db.IsolationLevel;

import static java.lang.String.format;

public class IllegalTransactionIsolationLevelException extends IllegalTransactionException {
    public IllegalTransactionIsolationLevelException(String message, IsolationLevel isolationLevel) {
        super(format("%s are not allowed for isolation level %s", message, isolationLevel));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy