Author: weaver
Date: Wed Aug 17 12:53:58 2005
New Revision: 233253

URL: http://svn.apache.org/viewcvs?rev=233253&view=rev
Log:
fixed issues with change in exception constructor.

Modified:
    
portals/jetspeed-2/trunk/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/FragmentNotInLayoutException.java

Modified: 
portals/jetspeed-2/trunk/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/FragmentNotInLayoutException.java
URL: 
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/FragmentNotInLayoutException.java?rev=233253&r1=233252&r2=233253&view=diff
==============================================================================
--- 
portals/jetspeed-2/trunk/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/FragmentNotInLayoutException.java
 (original)
+++ 
portals/jetspeed-2/trunk/layout-portlets/src/java/org/apache/jetspeed/portlets/layout/FragmentNotInLayoutException.java
 Wed Aug 17 12:53:58 2005
@@ -15,6 +15,8 @@
  */
 package org.apache.jetspeed.portlets.layout;
 
+import org.apache.jetspeed.om.page.Fragment;
+
 
 /**
  * This exception indicates that an attmept was made get the coordinates
@@ -25,9 +27,10 @@
  */
 public class FragmentNotInLayoutException extends LayoutException
 {
-    public FragmentNotInLayoutException(String fragmentId)
+    public FragmentNotInLayoutException(Fragment fragment)
     {
-        super("The fragment "+fragmentId+" could not be located in this 
layout.");
+       super("The fragment "+fragment != null ?fragment.getId():"{null 
fragment}"+" could not be located in this layout.");
+       
     }
 
 }



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

Reply via email to