Catching exceptions in GraphExpression.evaluate()