Author: pbenedict
Date: Thu Jul 19 21:22:56 2007
New Revision: 557863
URL: http://svn.apache.org/viewvc?view=rev&rev=557863
Log:
STR-2098: Clarify FileNotFoundException depends on underlying implementation
Modified:
struts/struts1/trunk/core/src/main/java/org/apache/struts/upload/FormFile.java
Modified:
struts/struts1/trunk/core/src/main/java/org/apache/struts/upload/FormFile.java
URL:
http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/upload/FormFile.java?view=diff&rev=557863&r1=557862&r2=557863
==============================================================================
---
struts/struts1/trunk/core/src/main/java/org/apache/struts/upload/FormFile.java
(original)
+++
struts/struts1/trunk/core/src/main/java/org/apache/struts/upload/FormFile.java
Thu Jul 19 21:22:56 2007
@@ -99,7 +99,9 @@
* [EMAIL PROTECTED] #getInputStream() getInputStream}. </p>
*
* @return The file data as a byte array.
- * @throws FileNotFoundException if the uploaded file is not found.
+ * @throws FileNotFoundException if the uploaded file is not found. Some
+ * implementations may not deal with files and/or throw
+ * this exception.
* @throws IOException if an error occurred while reading the
* file.
*/
@@ -110,7 +112,9 @@
* <p> Returns an input stream for this file. The caller must close the
* stream when it is no longer needed. </p>
*
- * @throws FileNotFoundException if the uploaded file is not found.
+ * @throws FileNotFoundException if the uploaded file is not found. Some
+ * implementations may not deal with files and/or throw
+ * this exception.
* @throws IOException if an error occurred while reading the
* file.
*/