Skip to content
Commit 61af37d0 authored by Arne Franken's avatar Arne Franken
Browse files

BucketController: Simplify bucket handling, error handling

Now that all objects are stored in their Bucket as a reference, it is
not necessary anymore to traverse directories and find all S3Objects.
If backing services (e.g. BucketStore) encapsulate all their internal
errors in certain exceptions (in this case IllegalStateExceptions), it
is possible to build a centralized error handler
(IllegalStateExceptionHandler) instead of handling errors separately in
every controller method.
parent 33740ec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment