in src/main/java/com/epam/digital/data/platform/storage/form/repository/BaseCephRepository.java [31:41]
protected <T> T execute(Supplier<T> supplier) {
try {
return supplier.get();
} catch (CephCommunicationException ex) {
log.warn("Couldn't get form data from ceph", ex);
throw new FormDataRepositoryCommunicationException(ex.getMessage(), ex);
} catch (MisconfigurationException ex) {
log.warn("Ceph configuration error", ex);
throw new FormDataRepositoryMisconfigurationException(ex.getMessage(), ex);
}
}