Skip to content

Commit 4e6be46

Browse files
committed
more gemini
1 parent f94c1df commit 4e6be46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/src/main/java/io/opentdf/platform/sdk/Autoconfigure.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ String name() {
255255
}
256256
try {
257257
return URLDecoder.decode(matcher.group(1), StandardCharsets.UTF_8.name());
258-
} catch (UnsupportedEncodingException e) {
258+
} catch (UnsupportedEncodingException | IllegalArgumentException e) {
259259
throw new RuntimeException("illegal attribute instance", e);
260260
}
261261
}
@@ -382,7 +382,7 @@ List<KeySplitStep> plan(Supplier<String> genSplitID)
382382
k = k.reduce();
383383
int l = k.size();
384384
if (l == 0) {
385-
throw new IllegalStateException("generated an empty plan");
385+
throw new AutoConfigureException("generated an empty plan");
386386
}
387387

388388
List<KeySplitStep> steps = new ArrayList<>();

0 commit comments

Comments
 (0)