Commits

Anonymous committed a147444

Add quotes round invalid action id

Comments (0)

Files changed (1)

src/java/com/opensymphony/workflow/loader/ActionDescriptor.java

         try {
             setId(Integer.parseInt(action.getAttribute("id")));
         } catch (Exception ex) {
-            throw new IllegalArgumentException("Invalid action id value " + action.getAttribute("id"));
+            throw new IllegalArgumentException("Invalid action id value '" + action.getAttribute("id") + "'");
         }
 
         this.name = action.getAttribute("name");