@Override
    public GremlinLang getGremlinLang() {
        throw new UnsupportedOperationException("Remote traversals do not support this method");
    }
Note that internally {@code #nextTraverser()} is called from within a loop (specifically in
{@link AbstractStep#next()} that breaks properly when a {@code NoSuchElementException} is thrown. In
other words the "results" should be iterated to force that failure.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/traversal/AbstractRemoteTraversal.java