Class RpcDecodeException

  • All Implemented Interfaces:
    Serializable

    public class RpcDecodeException
    extends Exception
    Thrown if RPC method argument cannot be decoded to the required type.

    It may happen when a decoder supports (applicable) to the type of argument and the required type but the argument value cannot be converted to the type (e.g. "1.1" can't be converted to Integer even though the StringToNumberDecoder is able to decode a String to Integer).

    For internal use only. May be renamed or removed in a future release.

    Since:
    1.0
    Author:
    Vaadin Ltd
    See Also:
    Serialized Form
    • Constructor Detail

      • RpcDecodeException

        public RpcDecodeException​(String message)
        Creates a new instance with the given message.
        Parameters:
        message - the exception message
      • RpcDecodeException

        public RpcDecodeException​(Throwable cause)
        Creates a new instance with the given cause.
        Parameters:
        cause - the cause of the failed conversion