Skip to content

Commit

Permalink
ignore IOException from Host#fetch()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed May 20, 2013
1 parent 8c5346a commit 88d7bd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void close() throws IOException {
@Override
@NotNull
@SuppressWarnings("PMD.AvoidInstantiatingObjectsInLoops")
@Loggable(value = Loggable.DEBUG, ignore = IOException.class)
public Resource fetch(@NotNull final URI uri, @NotNull final Range range)
throws IOException {
Resource resource = null;
Expand Down
1 change: 1 addition & 0 deletions s3auth-hosts/src/main/java/com/s3auth/hosts/SmartHost.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public void close() throws IOException {
* {@inheritDoc}
*/
@Override
@Loggable(value = Loggable.DEBUG, ignore = IOException.class)
public Resource fetch(@NotNull final URI uri, @NotNull final Range range)
throws IOException {
Resource resource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public SecuredHost(@NotNull final Host hst,
* {@inheritDoc}
*/
@Override
@Loggable(value = Loggable.DEBUG, ignore = HttpException.class)
@Loggable(value = Loggable.DEBUG, ignore = IOException.class)
public Resource fetch(@NotNull final URI uri, @NotNull final Range range)
throws IOException {
Resource res;
Expand Down

0 comments on commit 88d7bd6

Please sign in to comment.