@Override
    protected boolean filter(final Traverser.Admin<S> traverser) {
        GremlinTypeErrorException typeError = null;
        for (final Traversal.Admin<S, ?> traversal : this.traversals) {
            try {
                if (TraversalUtil.test(traverser, traversal))
                    return true;
            } catch (GremlinTypeErrorException ex) {
                // hold onto it until the end in case any other arguments evaluate to TRUE
                typeError = ex;
            }
        }
        if (typeError != null)
            throw typeError;
        return false;
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/filter/OrStep.java