java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.FailStep.FailException
All Implemented Interfaces:
Serializable, Failure
Enclosing class:
FailStep<S>

public static class FailStep.FailException extends RuntimeException implements Failure
Default Failure implementation that is thrown by FailStep.
See Also:
  • Constructor Details

  • Method Details

    • getMetadata

      public Map<String,Object> getMetadata()
      Description copied from interface: Failure
      Gets any additional metadata associated with the failure. Returns an empty Map when there is no metadata.
      Specified by:
      getMetadata in interface Failure
    • getTraverser

      public Traverser.Admin getTraverser()
      Description copied from interface: Failure
      Gets the Traverser that was being processed when the failure was triggered. May return null when the Failure was reconstructed from a remote response where this context is not available.
      Specified by:
      getTraverser in interface Failure
    • getTraversal

      public Traversal.Admin getTraversal()
      Description copied from interface: Failure
      Gets the Traversal that contained the fail() step that triggered the failure. May return null when the Failure was reconstructed from a remote response where this context is not available.
      Specified by:
      getTraversal in interface Failure