Minor exception handling refactoring
This commit is contained in:
1 parent
1f36fd0f32
commit
1f055d7eeb
2 files changed
+3
-5
No files matched your search
@@ -36,7 +36,7 @@ public class StreamUtils
|
||||
return out.toString();
|
||||
} catch (IOException ioe)
|
||||
{
|
||||
throw new RuntimeException("Error while reading response body", ioe);
|
||||
throw new IllegalStateException("Error while reading response body", ioe);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user