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

com.rethinkdb.gen.exc.ReqlResourceLimitError Maven / Gradle / Ivy

The newest version!
// Autogenerated by metajava.py.
// Do not edit this file directly.
// The template for this file is located at:
// ../../../../../../../../templates/Exception.java
package com.rethinkdb.gen.exc;

import org.jetbrains.annotations.Nullable;
import com.rethinkdb.ast.ReqlAst;
import com.rethinkdb.model.Backtrace;

public class ReqlResourceLimitError extends ReqlRuntimeError {

    @Nullable Backtrace backtrace;
    @Nullable ReqlAst term;

    public ReqlResourceLimitError() {
    }

    public ReqlResourceLimitError(String message) {
        super(message);
    }

    public ReqlResourceLimitError(String format, Object... args) {
        super(String.format(format, args));
    }

    public ReqlResourceLimitError(String message, Throwable cause) {
        super(message, cause);
    }

    public ReqlResourceLimitError(Throwable cause) {
        super(cause);
    }

    public ReqlResourceLimitError(String msg, ReqlAst term, Backtrace bt) {
        super(msg);
        this.backtrace = bt;
        this.term = term;
    }

    public @Nullable Backtrace getBacktrace() {
        return backtrace;
    }

    public ReqlResourceLimitError setBacktrace(Backtrace backtrace) {
        this.backtrace = backtrace;
        return this;
    }

    public @Nullable ReqlAst getTerm() {
        return this.term;
    }

    public ReqlResourceLimitError setTerm(ReqlAst term) {
        this.term = term;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy