You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2002/08/14 11:19:26 UTC
cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/acting SourceMultiAction.java
stephan 2002/08/14 02:19:26
Modified: src/scratchpad/src/org/apache/cocoon/acting
SourceMultiAction.java
Log:
Modified the exception handling for Source uploads.
Revision Changes Path
1.5 +5 -5 xml-cocoon2/src/scratchpad/src/org/apache/cocoon/acting/SourceMultiAction.java
Index: SourceMultiAction.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/acting/SourceMultiAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SourceMultiAction.java 5 Aug 2002 09:05:42 -0000 1.4
+++ SourceMultiAction.java 14 Aug 2002 09:19:26 -0000 1.5
@@ -166,11 +166,11 @@
throw new ProcessingException("Source isn't writeable");
} catch (SourceException se) {
- getLogger().warn("Exception occurs while storing the content", se);
- return null;
+ getLogger().error("Exception occurs while storing the content", se);
+ throw new ProcessingException("Exception occurs while storing the content", se);
} catch (IOException ioe) {
- getLogger().warn("Exception occurs while storing the content", ioe);
- return null;
+ getLogger().error("Exception occurs while storing the content", ioe);
+ throw new ProcessingException("Exception occurs while storing the content", ioe);
}
}
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org