Commit 7fcec13
committed
fix(data): make MetadataHelper throw runtime exception
Due to the changed behaviour of the handlers throwing HandlerExceptions
only, we need to throw the runtime exception InternalOAIException.
This also makes more sense, as the exceptions does not happen because of
a malicious user request (which is what we have been using the explicit
exceptions for).1 parent a9050f7 commit 7fcec13
1 file changed
Lines changed: 3 additions & 4 deletions
File tree
- xoai-data-provider/src/main/java/io/gdcc/xoai/dataprovider/handlers/helpers
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
0 commit comments