Package io.temporal.internal.retryer
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:
java.io.Serializable
public class GrpcMessageTooLargeException extends io.grpc.StatusRuntimeExceptionInternal exception used to mark when StatusRuntimeException is caused by message being too large. Exceptions are only wrapped ifGrpcRetryerwas used, which is an implementation detail and not always the case - user code should catchStatusRuntimeException.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GrpcMessageTooLargeExceptiontryWrap(io.grpc.StatusRuntimeException exception)-
Methods inherited from class io.grpc.StatusRuntimeException
fillInStackTrace, getStatus, getTrailers
-
-
-
-
Method Detail
-
tryWrap
@Nullable public static GrpcMessageTooLargeException tryWrap(io.grpc.StatusRuntimeException exception)
-
-