
com.hubspot.jinjava.interpret.OutputTooBigException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jinjava Show documentation
Show all versions of jinjava Show documentation
Jinja templating engine implemented in Java
package com.hubspot.jinjava.interpret;
public class OutputTooBigException extends RuntimeException {
private long maxSize;
private final long size;
public OutputTooBigException(long maxSize, long size) {
this.maxSize = maxSize;
this.size = size;
}
@Override
public String getMessage() {
return String.format(
"%d byte output rendered, over limit of %d bytes",
size,
maxSize
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy