rubys       01/10/18 09:39:19

  Modified:    proposal/gump/java Project.java
  Log:
  Print out the project name instead of project.toString() in exceptions.
  
  Revision  Changes    Path
  1.8       +4 -4      jakarta-alexandria/proposal/gump/java/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/java/Project.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Project.java      2001/10/18 16:26:56     1.7
  +++ Project.java      2001/10/18 16:39:19     1.8
  @@ -295,20 +295,20 @@
   
               throw new Exception(
                  "A jar with id \"" + id + "\" was not found in project \"" + 
  -               project + "\" referenced by project " + name);
  +               projectName + "\" referenced by project " + name);
   
           } else if (project.jars.size() > 1) {
   
               throw new Exception(
  -               "Multiple jars defined by project \"" + project + "\" " + 
  +               "Multiple jars defined by project \"" + projectName + "\" " + 
                  "referenced by project \"" + name + "\"; " +
                  "an id attribute is required to select the one you want.");
   
           } else {
   
               throw new Exception(
  -               "Project \"" + project + "\" referenced by project " + name +
  -               "defines no jars as output.");
  +               "Project \"" + projectName + "\" referenced by project " + 
  +               name + "defines no jars as output.");
   
           };
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to