Github user garydgregory commented on the issue:
https://github.com/apache/commons-fileupload/pull/13
I am concerned about:
- I create a class or jar with a subclass of `DiskFileItem` called
`FooDiskFileItem` that throws an `Exception` against FileUpload 1.3.3.
- We release FileUpload 1.4.0 with a `write()` that now throws
`IOException`.
- I write code against 1.4.0 to catch IOException.
- I run my `FooDiskFileItem` that throws an `Exception` (not an
`IOException`).
- My new code obviously does not catch Exception and it percolates up the
stack.
- This is OK, since I am writing new code, if I want to use old
`DiskFileItem` classes, I catch Exception.
Does that make sense? Is that OK?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]