Constructor constructor = proxy.getConstructor(new Class[]{InvocationHandler.class});
Object obj = constructor.newInstance(new Object[]{handler});
cache.putObjectInCacheRead(referenceId, obj);
return obj;
} catch (ClassNotFoundException e) {
throw new SerializationException(e);
} catch (NoSuchMethodException e) {
throw new SerializationException(e);
} catch (IllegalAccessException e) {
throw new SerializationException(e);
} catch (InstantiationException e) {
throw new SerializationException(e);
} catch (InvocationTargetException e) {
throw new SerializationException(e);
}
}