Skip to content

Commit 53176a3

Browse files
committed
fix pmd AvoidThrowingRawExceptionTypes
1 parent 0eaef38 commit 53176a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/examples/ResourcemanagerExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static void main(String[] args) throws IOException {
110110
/* delete folder */
111111
resourceManagerApi.deleteFolder(folder.getContainerId(), true);
112112
} catch (ApiException e) {
113-
throw new RuntimeException(e);
113+
throw new IllegalStateException(e);
114114
}
115115
}
116116

0 commit comments

Comments
 (0)