diff options
| author | Kevin Sawicki | 2011-04-21 17:12:41 +0000 |
|---|---|---|
| committer | Kevin Sawicki | 2011-04-21 17:12:41 +0000 |
| commit | b2b9efef023c2d145a05c547401d3fed140dd89d (patch) | |
| tree | edceea62dd0ec78023e72abe10a39218fb562884 | |
| parent | 3d4fac7dfe6c6defcbac67e5096f88280d98d396 (diff) | |
| download | egit-github-b2b9efef023c2d145a05c547401d3fed140dd89d.tar.gz egit-github-b2b9efef023c2d145a05c547401d3fed140dd89d.tar.xz egit-github-b2b9efef023c2d145a05c547401d3fed140dd89d.zip | |
Use IOException constructor that is 1.5 compliant.
Bug: 343489
Change-Id: I5eea8c66b30820c533ea8d3a9d43dba822ec24f8
Signed-off-by: Kevin Sawicki <kevin@github.com>
| -rw-r--r-- | org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/GitHubClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/GitHubClient.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/GitHubClient.java index 665cfb9d..32d3cbb2 100644 --- a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/GitHubClient.java +++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/GitHubClient.java @@ -220,7 +220,7 @@ public class GitHubClient { throw new IOException(method.getStatusText()); } } catch (JsonParseException jpe) { - throw new IOException(jpe); + throw new IOException(jpe.getMessage()); } } @@ -256,7 +256,7 @@ public class GitHubClient { throw new IOException(method.getStatusText()); } } catch (JsonParseException jpe) { - throw new IOException(jpe); + throw new IOException(jpe.getMessage()); } finally { method.releaseConnection(); } |
