Interface PostInvocationInterceptor.ExceptionContext

  • Enclosing interface:
    PostInvocationInterceptor

    public static interface PostInvocationInterceptor.ExceptionContext
    The context providing information when the Throwable (typically, the RuntimeException) is caught.
    • Method Detail

      • getThrowables

        Deque<Throwable> getThrowables()
        Get the mutable Deque of unhandled Throwables occurred during the request (including previous PostInvocationInterceptor processing).
        Returns:
        Unhandled Throwables occurred during the request.
      • resolve

        void resolve​(Response response)
        Resolve the Throwables with a provided Response. The Throwables in the ExceptionContext will be cleared.
        Parameters:
        response - the provided Response to be passed to a next PostInvocationInterceptor or the Client.