import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.argeo.ArgeoException;
import org.argeo.cms.CmsEditable;
import org.argeo.cms.CmsException;
import org.argeo.cms.CmsImageManager;
section.layout();
section.getParent().layout();
} catch (RepositoryException re) {
- throw new ArgeoException("unable to refresh "
+ throw new CmsException("unable to refresh "
+ "image section for " + context);
}
}
});
} catch (RepositoryException re) {
- throw new ArgeoException("unable to upload image " + name
+ throw new CmsException("unable to upload image " + name
+ " at " + context);
}
}
refresh(parSection);
layout(parSection);
} catch (RepositoryException re) {
- throw new ArgeoException("Unable to delete "
+ throw new CmsException("Unable to delete "
+ sessionNode, re);
}
edit(emsp, 0);
cancelEdit();
} catch (RepositoryException e1) {
- throw new ArgeoException(
+ throw new CmsException(
"Unable to remove value " + obj, e1);
}
layout(emsp);