Package com.linecorp.armeria.common.grpc
Class StatusCauseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.grpc.StatusCauseException
- All Implemented Interfaces:
Serializable
A
RuntimeException
reconstructed from debug information in a failed gRPC
response, containing information about the cause of the exception at the server
side.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aStatusCauseException
from the information in theThrowableProto
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class name of the original exception in the server.Returns the message attached to the original exception in the server.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StatusCauseException
Constructs aStatusCauseException
from the information in theThrowableProto
.
-
-
Method Details
-
getOriginalClassName
Returns the class name of the original exception in the server. -
getOriginalMessage
Returns the message attached to the original exception in the server. -
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-