We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63bc20b commit c7735c8Copy full SHA for c7735c8
1 file changed
src/main/java/org/hdf5javalib/dataclass/HdfArray.java
@@ -80,14 +80,8 @@ public byte[] getBytes() {
80
public String toString() {
81
try {
82
return datatype.getInstance(String.class, bytes);
83
- } catch (InvocationTargetException e) {
84
- throw new RuntimeException(e);
85
- } catch (InstantiationException e) {
86
87
- } catch (IllegalAccessException e) {
88
89
- } catch (IOException e) {
90
+ } catch (InvocationTargetException | InstantiationException | IllegalAccessException | IOException e) {
+ throw new IllegalStateException(e);
91
}
92
93
0 commit comments