diff options
author | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-21 08:27:00 +0000 |
---|---|---|
committer | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-21 08:27:00 +0000 |
commit | d56b1906f1f157735559397578474f8cc7d8fcdb (patch) | |
tree | 55eb9b61fcc6b4d497fb0c969ba70c13dcd1e4ec | |
parent | fb96878ec4072fe69b25661a8482bdd51c28cbda (diff) | |
download | edk2-platforms-d56b1906f1f157735559397578474f8cc7d8fcdb.tar.xz |
Add new-line characters in error message to make them shorter in multi-lines.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2125 6f19259b-4bc3-4df7-8a09-765794883524
2 files changed, 5 insertions, 5 deletions
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java index 67b7ad8c3c..d08202b94e 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java @@ -1184,7 +1184,7 @@ public class FpdFileContents { //
// ToDo Error
//
- throw new PcdDeclNotFound("No Declaration for PCD Entry " + msaPcd.getCName() + " used by Module "
+ throw new PcdDeclNotFound("No Declaration for PCD Entry " + msaPcd.getCName() + "\n used by Module "
+ mi.getName() + " or its Library Instances.");
}
//
@@ -3703,10 +3703,10 @@ class PcdItemTypeConflictException extends Exception { PcdItemTypeConflictException (String pcdName, String info) {
ModuleIdentification mi = WorkspaceProfile.getModuleId(info);
if (mi != null) {
- details = pcdName + " ItemType Conflicts with " + mi.getName() + " in Pkg " + mi.getPackageId().getName();
+ details = pcdName + " ItemType Conflicts with " + mi.getName() + "\n in Pkg " + mi.getPackageId().getName();
}
else {
- details = pcdName + " ItemType Conflicts with " + info;
+ details = pcdName + " ItemType Conflicts with \n" + info;
}
}
@@ -3729,7 +3729,7 @@ class PcdItemTypeConflictException extends Exception { moduleInfo2 = info2;
}
- details = pcdName + " ItemType Conflicts in " + moduleInfo1 + " and " + moduleInfo2;
+ details = pcdName + " ItemType Conflicts in \n" + moduleInfo1 + "\n and " + moduleInfo2;
}
public String getMessage() {
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java index 72da8bd72c..380a702eb4 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java @@ -1189,7 +1189,7 @@ public class FpdModuleSA extends JDialog implements ActionListener { addLibInstance (libMi);
}
catch (Exception exception) {
- JOptionPane.showMessageDialog(frame, "Adding Instance" + libMi.getName() + ": "+ exception.getMessage());
+ JOptionPane.showMessageDialog(frame, "Adding Instance " + libMi.getName() + " : \n"+ exception.getMessage());
return;
}
docConsole.setSaved(false);
|