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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]