Class FailResponseException

    • Constructor Detail

      • FailResponseException

        public FailResponseException​(String serverMessage,
                                     List<String> remoteExceptionHierarchy,
                                     String remoteStackTrace,
                                     Map<String,​Object> statusAttributes)
    • Method Detail

      • 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