Class FailStep.FailException
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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailException(Traversal.Admin traversal, Traverser.Admin traverser, String message, Map<String, Object> metadata) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Failure
format, getMessage
-
Constructor Details
-
FailException
public FailException(Traversal.Admin traversal, Traverser.Admin traverser, String message, Map<String, Object> metadata)
-
-
Method Details
-
getMetadata
Description copied from interface:FailureGets any additional metadata associated with the failure. Returns an emptyMapwhen there is no metadata.- Specified by:
getMetadatain interfaceFailure
-
getTraverser
Description copied from interface:FailureGets theTraverserthat was being processed when the failure was triggered. May returnnullwhen theFailurewas reconstructed from a remote response where this context is not available.- Specified by:
getTraverserin interfaceFailure
-
getTraversal
Description copied from interface:FailureGets theTraversalthat contained thefail()step that triggered the failure. May returnnullwhen theFailurewas reconstructed from a remote response where this context is not available.- Specified by:
getTraversalin interfaceFailure
-