RpcFrameException.policy constructor

RpcFrameException.policy(
  1. String message
)

The peer's metadata failed the configured policy.

INVALID_ARGUMENT — deterministic, so it should be retried never, and it is the trailer RpcChannelTransport sends for a policy violation.

Implementation

RpcFrameException.policy(String message)
  : super(RpcStatus.invalidArgument, message);