Minor exception handling refactoring

This commit is contained in:
Pablo Fernandez committed 2011-01-09 16:10:00 -03:00
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);
}
}
}