Преглед на файлове

Log more info about what package is trying to be registered into

Jared преди 5 години
родител
ревизия
c7466e5c37
No account linked to committer's email address
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java

+ 1
- 1
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java Целия файл

@@ -265,7 +265,7 @@ public class JavaNativeModule {
265 265
 				className = specifiedName.substring(specifiedName.lastIndexOf('.') + 1);
266 266
 			} else if (specifiedName.indexOf('.') >= 0) {
267 267
 				if (!specifiedName.startsWith(pkg.fullName))
268
-					throw new IllegalArgumentException("Specified @Name as \"" + specifiedName + "\" for class: \"" + cls.toString() + "\" but it's not in the module root package");
268
+					throw new IllegalArgumentException("Specified @Name as \"" + specifiedName + "\" for class: \"" + cls.toString() + "\" but it's not in the module root package: \"" + pkg.fullName + "\"");
269 269
 
270 270
 				classPkg = getPackage(basePackage + specifiedName.substring(pkg.fullName.length()));
271 271
 				className = specifiedName.substring(specifiedName.lastIndexOf('.') + 1);

Loading…
Отказ
Запис