后端抛出 自己定义的异常（继承runtimeException），在前端通过spring 接受到的异常时 runtimeException，请问怎么解决

*/
    public String getGroup() {
        
        return referenceConfig.getGroup();
    }
    /**
     * The version of the service
     */
    public String getVersion() {
        
        return referenceConfig.getVersion();
    }
    public String getKey() {
        return key;
    }
    public Map<String, Object> getReferenceProps() {
        return referenceProps;
    }
    public MutablePropertyValues getPropertyValues() {
        return propertyValues;
    }
    public ReferenceConfig getReferenceConfig() {
        return referenceConfig;
    }
    public void setKeyAndReferenceConfig(String key, ReferenceConfig referenceConfig) {
        this.key = key;
        this.referenceConfig = referenceConfig;
    }
    /**
     * Create lazy proxy for reference.