Package io.vertx.grpc.common

## Class InvalidMessagePayloadException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.VertxException
        - - io.vertx.grpc.common.InvalidMessageException
          - - io.vertx.grpc.common.InvalidMessagePayloadException

- All Implemented Interfaces:
    `Serializable`

      public final class InvalidMessagePayloadException
      extends InvalidMessageException

  Signals a message with an invalid payload, i.e. that could not be decoded by the protobuf codec.
  Author:
    Julien Viet
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `InvalidMessagePayloadException​(GrpcMessage message, Throwable cause)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `GrpcMessage` | `message()` |

    - ### 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

    - #### InvalidMessagePayloadException

          public InvalidMessagePayloadException​(GrpcMessage message,
                                                Throwable cause)

  - ### Method Detail

    - #### message

          public GrpcMessage message()

      Returns:
        the invalid message that could not be decoded.