Class GrpcMessageTooLargeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.grpc.StatusRuntimeException
io.temporal.internal.retryer.GrpcMessageTooLargeException
- All Implemented Interfaces:
Serializable
public class GrpcMessageTooLargeException
extends io.grpc.StatusRuntimeException
Internal exception used to mark when StatusRuntimeException is caused by message being too large.
Exceptions are only wrapped if
GrpcRetryer was used, which is an implementation detail
and not always the case - user code should catch StatusRuntimeException.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic GrpcMessageTooLargeExceptiontryWrap(io.grpc.StatusRuntimeException exception) Methods inherited from class io.grpc.StatusRuntimeException
getStatus, getTrailersMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
tryWrap
@Nullable public static GrpcMessageTooLargeException tryWrap(io.grpc.StatusRuntimeException exception)
-