Class RpcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ru.pathcreator.pyc.rpc.core.exceptions.RpcException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BackpressureException, NotConnectedException, PayloadTooLargeException, ProtocolMismatchException, RemoteRpcException, RpcApplicationException, RpcTimeoutException
Базовое unchecked-исключение для ошибок RPC-слоя.
Base unchecked exception for RPC-layer failures.
От этого класса наследуются transport-ошибки, timeout-исключения, structured remote errors, ошибки лимитов и другие сбои, которые могут возникнуть в канале или вокруг него.
Transport errors, timeout exceptions, structured remote errors, limit violations, and related channel failures extend this class.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRpcException(String message) Создаёт исключение с текстовым описанием ошибки.RpcException(String message, Throwable cause) Создаёт исключение с текстовым описанием ошибки и исходной причиной. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RpcException
Создаёт исключение с текстовым описанием ошибки.Creates an exception with an error message.
- Parameters:
message- описание ошибки / error message
-
RpcException
-