MaxRpcRetryException
Keywords: net.corda.client.rpc.MaxRpcRetryException class
Date: 2023-09-18

net.corda.client.rpc

## Class MaxRpcRetryException

-     public class MaxRpcRetryException

  Thrown to indicate an RPC operation has been retried for the maxNumberOfRetries unsuccessfully.

  See Also:
    maxNumberOfRetries

- - ### Constructor Detail

    - #### MaxRpcRetryException

          public MaxRpcRetryException(int maxNumberOfRetries,
                                      @NotNull
                                      java.lang.reflect.Method method,
                                      @Nullable
                                      java.lang.Throwable cause)

      Thrown to indicate an RPC operation has been retried for the maxNumberOfRetries unsuccessfully.

      Parameters:
        `maxNumberOfRetries` - the number of retries that had been performed.
        `cause` - the cause of the last failed attempt.
      See Also:
        maxNumberOfRetries