We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f94c1df commit 4e6be46Copy full SHA for 4e6be46
1 file changed
sdk/src/main/java/io/opentdf/platform/sdk/Autoconfigure.java
@@ -255,7 +255,7 @@ String name() {
255
}
256
try {
257
return URLDecoder.decode(matcher.group(1), StandardCharsets.UTF_8.name());
258
- } catch (UnsupportedEncodingException e) {
+ } catch (UnsupportedEncodingException | IllegalArgumentException e) {
259
throw new RuntimeException("illegal attribute instance", e);
260
261
@@ -382,7 +382,7 @@ List<KeySplitStep> plan(Supplier<String> genSplitID)
382
k = k.reduce();
383
int l = k.size();
384
if (l == 0) {
385
- throw new IllegalStateException("generated an empty plan");
+ throw new AutoConfigureException("generated an empty plan");
386
387
388
List<KeySplitStep> steps = new ArrayList<>();
0 commit comments