Class RpcErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RpcErrorException
    extends io.grpc.StatusRuntimeException
    Herts prc error
    See Also:
    Serialized Form
    • Constructor Detail

      • RpcErrorException

        public RpcErrorException​(io.grpc.StatusRuntimeException ex)
    • Method Detail

      • convertToHertsCode

        public static RpcErrorException.StatusCode convertToHertsCode​(io.grpc.Status status)
        Convert to herts StatusCode.
        Parameters:
        status - Status
        Returns:
        io.grpc.Status
      • createStatusException

        public io.grpc.StatusRuntimeException createStatusException()
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getGrpcStatus

        public io.grpc.Status getGrpcStatus()