Class GrpcExceptionParser
java.lang.Object
org.axonframework.axonserver.connector.event.util.GrpcExceptionParser
Converts GRPC Exceptions to
RuntimeExceptions.- Since:
- 4.0
- Author:
- Marc Gathier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptionConvert the giveexceptioninto aRuntimeException.
-
Constructor Details
-
GrpcExceptionParser
public GrpcExceptionParser()
-
-
Method Details
-
parse
Convert the giveexceptioninto aRuntimeException.- Parameters:
exception- theThrowableto base theRuntimeException.- Returns:
- the
RuntimeExceptionbased on the givenexception
-