mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for IDEA-60370
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module relativePaths="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_3" inherit-compiler-output="true">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_4" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
|
||||
+5
@@ -23,6 +23,11 @@ public class CodeGenerationException extends Exception{
|
||||
myComponentId = componentId;
|
||||
}
|
||||
|
||||
public CodeGenerationException(final String componentId, final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
myComponentId = componentId;
|
||||
}
|
||||
|
||||
public String getComponentId() {
|
||||
return myComponentId;
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ public final class Utils {
|
||||
rootContainer = nestedFormLoader.loadForm(formName);
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new CodeGenerationException(null, "Error loading nested form: " + e.getMessage());
|
||||
throw new CodeGenerationException(null, "Error loading nested form: " + e.getMessage(), e);
|
||||
}
|
||||
final Set thisFormNestedForms = new HashSet();
|
||||
final CodeGenerationException[] validateExceptions = new CodeGenerationException[1];
|
||||
|
||||
Reference in New Issue
Block a user