@Override public boolean onExceptionalCompletion(Throwable ex, CountedCompleter caller){
GLM2.this.cancel(ex);
return true;
}
}
<BUG>public void nextLambda(final GLMIterationTask glmt){

System.out.println("computing validation at t = " + (System.currentTimeMillis() - start));
H2OCallback fin = new H2OCallback<GLMValidationTask>() {
@Override public void callback(GLMValidationTask tsk) {
System.out.println("validation computed at t = " + (System.currentTimeMillis() - start));
boolean improved = _model.setAndTestValidation(_lambdaIdx,tsk._res);
</BUG>
_model.clone().update(self());

@Override public boolean onExceptionalCompletion(Throwable ex, CountedCompleter caller){
GLM2.this.cancel(ex);
return true;
}
}
protected void nextLambda(final GLMIterationTask glmt, GLMValidation val){
boolean improved = _model.setAndTestValidation(_lambdaIdx,val);
_model.clone().update(self());
