@Override
    public InvocationStat snapshot() {
        ServiceExceptionInvocationStat invocationStat = new ServiceExceptionInvocationStat(dimension);
        invocationStat.setInvokeCount(getInvokeCount());
        invocationStat.setExceptionCount(getExceptionCount());
        return invocationStat;
    }
Sets server exception.

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