io.questdb.griffin.engine.LimitOverflowException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
QuestDB is High Performance Time Series Database
package io.questdb.griffin.engine;
import io.questdb.cairo.CairoException;
import io.questdb.std.ThreadLocal;
public class LimitOverflowException extends CairoException {
private static final long serialVersionUID = 1L;
private static final ThreadLocal tlException = new ThreadLocal<>(LimitOverflowException::new);
public static LimitOverflowException instance() {
LimitOverflowException ex = tlException.get();
ex.message.clear();
return ex;
}
public static LimitOverflowException instance(long limit) {
LimitOverflowException ex = instance();
ex.put("limit of ").put(limit).put(" exceeded").setCacheable(true);
return ex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy