We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c74c03 commit bf671feCopy full SHA for bf671fe
1 file changed
databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth/OAuthClient.java
@@ -209,9 +209,9 @@ private static String encodeParam(String value) {
209
try {
210
return URLEncoder.encode(value, "UTF-8");
211
} catch (UnsupportedEncodingException e) {
212
- // This should never happen. Though, the exception is a "checked" exception
213
- // so we need to catch it here so that we do not have to propagate it to
214
- // the method signature.
+ // This should never happen. The exception is catched because it is
+ // a "checked" exception that we do not want to propagate to the method
+ // signature.
215
throw new RuntimeException("UTF-8 encoding not supported", e);
216
}
217
0 commit comments