Class GRpcRuntimeExceptionWrapper
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.lognet.springboot.grpc.recovery.GRpcRuntimeExceptionWrapper
-
- All Implemented Interfaces:
java.io.Serializable
public final class GRpcRuntimeExceptionWrapper extends java.lang.RuntimeExceptionRuntime exception that allows to wrap the checked exception to be handled byGRpcExceptionHandler- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRpcRuntimeExceptionWrapper(java.lang.Throwable cause)GRpcRuntimeExceptionWrapper(java.lang.Throwable cause, java.lang.Object hint)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetHint()static java.lang.ObjectgetHint(java.lang.Throwable exc)static java.lang.Throwableunwrap(java.lang.Throwable exc)
-