class ConfigurationNeedToBeReplacedError implements CommandError, ComparableByContent<ConfigurationNeedToBeReplacedError> {

    private static final ConfigurationNeedToBeReplacedError INSTANCE = new ConfigurationNeedToBeReplacedError();

    @Override
    public RuntimeException asException() {
        return new ConfigurationNeedToBeReplacedException();
    }

    public static SerializationHandle<ConfigurationNeedToBeReplacedError> SERIALIZATION_HANDLE = new SerializationHandle<>() {
        @Override
        public <S> ConfigurationNeedToBeReplacedError deserialize(DeserializationAdapter<S> adapter, S input) throws IOException {
            int formatNumber = adapter.readInt(input);
            Versions.check(formatNumber, v_8_1_0, v_8_1_0);
            return INSTANCE;
        }

        @Override
        public <O> void serialize(SerializationAdapter<O> adapter, O output, ConfigurationNeedToBeReplacedError error, Version backwardCompatibilityVersion, Scope scope) throws IOException {
            adapter.writeInt(output, v_8_1_0.getNumber());
        }

        @Override
        public int getTypeId() {
            return 40;
        }

        @Override
        public Class<ConfigurationNeedToBeReplacedError> getSerializedType() {
            return ConfigurationNeedToBeReplacedError.class;
        }

        @Override
        public ConfigurationNeedToBeReplacedError fromJsonCompatibleSnapshot(Map<String, Object> snapshot) throws IOException {<FILL_FUNCTION_BODY>}

        @Override
        public Map<String, Object> toJsonCompatibleSnapshot(ConfigurationNeedToBeReplacedError error, Version backwardCompatibilityVersion, Scope scope) throws IOException {
            Map<String, Object> result = new HashMap<>();
            result.put("version", v_8_1_0.getNumber());
            return result;
        }

        @Override
        public String getTypeName() {
            return "ConfigurationNeedToBeReplacedError";
        }

    };

    @Override
    public boolean equalsByContent(ConfigurationNeedToBeReplacedError other) {
        return true;
    }

}

            int formatNumber = readIntValue(snapshot, "version");
            Versions.check(formatNumber, v_8_1_0, v_8_1_0);
            return INSTANCE;
        
<no_super_class>