Package io.vertx.grpc.client

## Class InvalidStatusException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.VertxException
        - - io.vertx.grpc.client.InvalidStatusException

- All Implemented Interfaces:
    `Serializable`

      public final class InvalidStatusException
      extends VertxException

  Denotes a failure due to an invalid status.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `InvalidStatusException​(GrpcStatus expected, GrpcStatus actual)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `GrpcStatus` | `actualStatus()` |
    `GrpcStatus` | `expectedStatus()` |

    - ### Methods inherited from class io.vertx.core.VertxException

      `noStackTrace, noStackTrace, noStackTrace`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### InvalidStatusException

          public InvalidStatusException​(GrpcStatus expected,
                                        GrpcStatus actual)

  - ### Method Detail

    - #### expectedStatus

          public GrpcStatus expectedStatus()

      Returns:
        the expected status

    - #### actualStatus

          public GrpcStatus actualStatus()

      Returns:
        the actual status