Explorar el Código

Improve exception message

Lortseam hace 4 años
padre
commit
d6c3a28a24
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/me/lortseam/completeconfig/data/Collection.java

+ 1 - 1
src/main/java/me/lortseam/completeconfig/data/Collection.java

@@ -75,7 +75,7 @@ public class Collection implements FlatDataPart<ConfigMap> {
                         }
                         return constructor.newInstance();
                     } catch (NoSuchMethodException | IllegalAccessException | InstantiationException | InvocationTargetException e) {
-                        throw new RuntimeException("Failed to instantiate inner config entry container class", e);
+                        throw new RuntimeException("Failed to instantiate nested config entry container class", e);
                     }
                 }).filter(Objects::nonNull).collect(Collectors.toList()));
             }