@Override
    public long catchException(Throwable t) {
        if (t instanceof SofaRpcException) {
            SofaRpcException exception = (SofaRpcException) t;
            if (exception.getErrorType() == RpcErrorType.CLIENT_TIMEOUT
                || exception.getErrorType() == RpcErrorType.SERVER_BUSY) {
                return exceptionCount.incrementAndGet();
            }
        }
        return exceptionCount.get();
    }
Instantiates a new Service exception invocation stat.

@param invocation the invocation
fault/fault-tolerance/src/main/java/com/alipay/sofa/rpc/client/aft/impl/ServiceExceptionInvocationStat.java