Title: Exceptions should never be propagated as a generic Java Error · Issue #275 · timols/java-gitlab-api · GitHub
Open Graph Title: Exceptions should never be propagated as a generic Java Error · Issue #275 · timols/java-gitlab-api
X Title: Exceptions should never be propagated as a generic Java Error · Issue #275 · timols/java-gitlab-api
Description: This tends to cause processes to crash as no-one catches this type of error. From what I can tell, it looks like we are re-boxing the GitlabAPIexception with a java.lang.Error. java.lang.Error: org.gitlab.api.GitlabAPIException: {"messag...
Open Graph Description: This tends to cause processes to crash as no-one catches this type of error. From what I can tell, it looks like we are re-boxing the GitlabAPIexception with a java.lang.Error. java.lang.Error: org...
X Description: This tends to cause processes to crash as no-one catches this type of error. From what I can tell, it looks like we are re-boxing the GitlabAPIexception with a java.lang.Error. java.lang.Error: org...
Opengraph URL: https://github.com/timols/java-gitlab-api/issues/275
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exceptions should never be propagated as a generic Java Error","articleBody":"This tends to cause processes to crash as no-one catches this type of error. From what I can tell, it looks like we are re-boxing the GitlabAPIexception with a java.lang.Error.\r\n\r\n```\r\njava.lang.Error: org.gitlab.api.GitlabAPIException: {\"message\":\"403 Forbidden\"}\r\n\tat org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:263)\r\n\tat org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:217)\r\n\tat org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:185)\r\n\tat org.gitlab.api.GitlabAPI.getRepositoryTree(GitlabAPI.java:1563)\r\n```","author":{"url":"https://github.com/mjpitz","@type":"Person","name":"mjpitz"},"datePublished":"2017-12-18T21:48:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/275/java-gitlab-api/issues/275"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:330e3869-5cf0-2e92-8702-15bf582e126c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1D8:4E801:58B64:7717B:6A5FB358 |
| html-safe-nonce | d4e355a6076bbb80f41f0718e53f4f017b6c88adef9be52b1e6cf21956fd3435 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUQ4OjRFODAxOjU4QjY0Ojc3MTdCOjZBNUZCMzU4IiwidmlzaXRvcl9pZCI6IjYwMTk3OTA5NjExODgzNDAwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c0b402cde62a9728c6bc268fbd0ea6dd3b2209ff8fd80083ec2f44da7f4f1004 |
| hovercard-subject-tag | issue:283031984 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/timols/java-gitlab-api/275/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a4087ee87984fff6375e2a13920ce6bb21ebf79de23ab9cce06fffadec3d200e/timols/java-gitlab-api/issues/275 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4087ee87984fff6375e2a13920ce6bb21ebf79de23ab9cce06fffadec3d200e/timols/java-gitlab-api/issues/275 |
| og:image:alt | This tends to cause processes to crash as no-one catches this type of error. From what I can tell, it looks like we are re-boxing the GitlabAPIexception with a java.lang.Error. java.lang.Error: org... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mjpitz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1ec7085bd7214c509393537f93bc21c48856549e31538b70bdb3cc4df7eb5f70 |
| turbo-cache-control | no-preview |
| go-import | github.com/timols/java-gitlab-api git https://github.com/timols/java-gitlab-api.git |
| octolytics-dimension-user_id | 456103 |
| octolytics-dimension-user_login | timols |
| octolytics-dimension-repository_id | 10150143 |
| octolytics-dimension-repository_nwo | timols/java-gitlab-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 10150143 |
| octolytics-dimension-repository_network_root_nwo | timols/java-gitlab-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b0ff0ab699186747983f122c82d4ebc71a1c22b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width