|
@@ -62,9 +62,9 @@ public class MinioServiceImpl implements FileService {
|
|
.object(object)
|
|
.object(object)
|
|
.method(Method.GET)
|
|
.method(Method.GET)
|
|
.build()), minioConfig.getEndpoint());
|
|
.build()), minioConfig.getEndpoint());
|
|
- } catch (ErrorResponseException | InsufficientDataException | InternalException | InvalidKeyException |
|
|
|
|
- InvalidResponseException | IOException | NoSuchAlgorithmException | XmlParserException |
|
|
|
|
- ServerException e) {
|
|
|
|
|
|
+ } catch (ErrorResponseException | InsufficientDataException | InternalException | InvalidKeyException
|
|
|
|
+ | InvalidResponseException | IOException | NoSuchAlgorithmException | XmlParserException
|
|
|
|
+ | ServerException e) {
|
|
throw new MyRuntimeException(e);
|
|
throw new MyRuntimeException(e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -94,9 +94,9 @@ public class MinioServiceImpl implements FileService {
|
|
map.put("headers", response.headers());
|
|
map.put("headers", response.headers());
|
|
map.put("region", response.region());
|
|
map.put("region", response.region());
|
|
return map;
|
|
return map;
|
|
- } catch (ErrorResponseException | InsufficientDataException | InternalException | InvalidKeyException |
|
|
|
|
- InvalidResponseException | IOException | NoSuchAlgorithmException | ServerException |
|
|
|
|
- XmlParserException e) {
|
|
|
|
|
|
+ } catch (ErrorResponseException | InsufficientDataException | InternalException | InvalidKeyException
|
|
|
|
+ | InvalidResponseException | IOException | NoSuchAlgorithmException | ServerException
|
|
|
|
+ | XmlParserException e) {
|
|
throw new MyRuntimeException(e);
|
|
throw new MyRuntimeException(e);
|
|
}
|
|
}
|
|
}
|
|
}
|