Refactor monitor and exceptions
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / forms / FormUtils.java
index cf9984b864bbb1329259d2a013e38c34ea9203f4..f8d08b08d8a418299e75fc553a2f520c411ad511 100644 (file)
@@ -11,7 +11,7 @@ import javax.jcr.RepositoryException;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.argeo.ArgeoException;
+import org.argeo.cms.CmsException;
 import org.argeo.cms.CmsView;
 import org.argeo.cms.util.CmsUtils;
 import org.argeo.eclipse.ui.EclipseUiUtils;
@@ -62,7 +62,7 @@ public class FormUtils {
                                try {
                                        cmsView.navigateTo(node.getPath());
                                } catch (RepositoryException e) {
-                                       throw new ArgeoException("Unable to get path for node "
+                                       throw new CmsException("Unable to get path for node "
                                                        + node + " before calling navigateTo(path)", e);
                                }
                        }