You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/05/27 05:38:08 UTC
svn commit: r178736 -
/lenya/trunk/src/java/org/apache/lenya/cms/ant/SetIdentifier.java
Author: gregor
Date: Thu May 26 20:38:06 2005
New Revision: 178736
URL: http://svn.apache.org/viewcvs?rev=178736&view=rev
Log:
Shortened exception handling
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/ant/SetIdentifier.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/ant/SetIdentifier.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/ant/SetIdentifier.java?rev=178736&r1=178735&r2=178736&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/ant/SetIdentifier.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/ant/SetIdentifier.java Thu May 26 20:38:06 2005
@@ -19,9 +19,7 @@
package org.apache.lenya.cms.ant;
-import org.apache.lenya.cms.metadata.dublincore.DublinCore;
import org.apache.lenya.cms.publication.Document;
-import org.apache.lenya.cms.publication.DocumentBuildException;
import org.apache.lenya.cms.publication.DocumentException;
import org.apache.lenya.cms.site.Label;
import org.apache.lenya.cms.site.tree.SiteTree;
@@ -115,10 +113,8 @@
language));
}
}
- } catch (DocumentException e1) {
- throw new BuildException(e1);
- } catch (DocumentBuildException e2) {
- throw new BuildException(e2);
+ } catch (final Exception e) {
+ throw new BuildException(e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org