You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/02/07 11:29:19 UTC
svn commit: r375568 -
/lenya/trunk/src/java/org/apache/lenya/cms/repo/metadata/ElementSet.java
Author: andreas
Date: Tue Feb 7 02:29:17 2006
New Revision: 375568
URL: http://svn.apache.org/viewcvs?rev=375568&view=rev
Log:
ElementSet.getElement(): throw exception if name is not defined
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/repo/metadata/ElementSet.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/repo/metadata/ElementSet.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/repo/metadata/ElementSet.java?rev=375568&r1=375567&r2=375568&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/repo/metadata/ElementSet.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/repo/metadata/ElementSet.java Tue Feb 7 02:29:17 2006
@@ -16,6 +16,8 @@
*/
package org.apache.lenya.cms.repo.metadata;
+import org.apache.lenya.cms.repo.RepositoryException;
+
/**
* Definition of a set of meta data elements.
*/
@@ -29,7 +31,8 @@
/**
* @param name The name.
* @return The element.
+ * @throws RepositoryException if the element with this name does not exist.
*/
- Element getElement(String name);
+ Element getElement(String name) throws RepositoryException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org