You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/05/21 19:00:14 UTC

DO NOT REPLY [Bug 20124] New: - Proposed enhancement in Exception handling

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20124>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20124

Proposed enhancement in Exception handling

           Summary: Proposed enhancement in Exception handling
           Product: Commons
           Version: 1.0 Beta 1
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: m4341@abc.se


This enhancement will improve the ability to track down problems caused by lower
layers. Drawback is that it requires Java 1.4:

In file FileUpload.java, line 612:

Change:
	throw new FileUploadException(e.toString());

To:
	FileUploadException ex=new FileUploadException(e.toString());
	ex.initCause(e);
	throw ex;

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org