tech.ydb.yoj.repository.db.exception.IllegalTransactionIsolationLevelException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoj-repository Show documentation
Show all versions of yoj-repository Show documentation
Core YOJ (YDB ORM for Java) abstractions and APIs for domain entities, repositories, transactions etc.
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));
}
}