Skip to content

Commit 4b3d908

Browse files
committed
ResponseStatusExceptionFilter: Remove a "throws" declaration
IOException is never thrown in getBodyAsMessage().
1 parent 6c5898b commit 4b3d908

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/dockerjava/jaxrs/filter/ResponseStatusExceptionFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void filter(ClientRequestContext requestContext, ClientResponseContext re
5555
}
5656
}
5757

58-
private String getBodyAsMessage(ClientResponseContext responseContext) throws IOException {
58+
private String getBodyAsMessage(ClientResponseContext responseContext) {
5959
if (responseContext.hasEntity()) {
6060
try (InputStream entityStream = responseContext.getEntityStream()) {
6161
Charset charset = null;

0 commit comments

Comments
 (0)