public class RpcDecodeException extends Exception
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
).
Constructor and Description |
---|
RpcDecodeException(String message)
Creates a new instance with the given
message . |
RpcDecodeException(Throwable cause)
Creates a new instance with the given
cause . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RpcDecodeException(String message)
message
.message
- the exception messagepublic RpcDecodeException(Throwable cause)
cause
.cause
- the cause of the failed conversionCopyright © 2021. All rights reserved.