class DefaultSofaRpcFallback implements SofaRpcFallback {

    @Override
    public SofaResponse handle(FilterInvoker invoker, SofaRequest request, BlockException ex) {
        // Just wrap and throw the exception.
        throw new SentinelRpcException(ex);
    }

}