public class GrpcExceptionParser extends Object
RuntimeException
s.Constructor and Description |
---|
GrpcExceptionParser() |
Modifier and Type | Method and Description |
---|---|
static RuntimeException |
parse(Throwable exception)
Convert the give
exception into a RuntimeException . |
public static RuntimeException parse(Throwable exception)
exception
into a RuntimeException
.exception
- the Throwable
to base the RuntimeException
.RuntimeException
based on the given exception
Copyright © 2010–2020. All rights reserved.