docs improvements

This commit is contained in:
Jonathan Shook 2020-04-07 16:17:54 -05:00
parent 10d5ac9732
commit f26c8f436e

View File

@ -36,7 +36,8 @@ public class NullOrPass implements Function<Object,Object> {
if (o1 instanceof Long) {
basis = (Long) o1;
} else {
throw new RuntimeException("The NullsRatio function requires a variable to have been saved with Save('somename')");
throw new RuntimeException("The " + NullOrPass.class.getSimpleName() +
" function requires a variable to have been saved with Save(" + varname + ")");
}
double v = rangefunc.applyAsDouble(basis);
if (v <= ratio) {