commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sul...@apache.org
Subject svn commit: r393946 - /jakarta/commons/proper/httpclient/trunk/src/examples/MultipartFileUploadApp.java
Date Thu, 13 Apr 2006 21:28:07 GMT
Author: sullis
Date: Thu Apr 13 14:28:06 2006
New Revision: 393946

URL: http://svn.apache.org/viewcvs?rev=393946&view=rev
Log:
improved exception handling:  display the exception name in the GUI

Modified:
    jakarta/commons/proper/httpclient/trunk/src/examples/MultipartFileUploadApp.java

Modified: jakarta/commons/proper/httpclient/trunk/src/examples/MultipartFileUploadApp.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/examples/MultipartFileUploadApp.java?rev=393946&r1=393945&r2=393946&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/examples/MultipartFileUploadApp.java (original)
+++ jakarta/commons/proper/httpclient/trunk/src/examples/MultipartFileUploadApp.java Thu Apr
13 14:28:06 2006
@@ -176,7 +176,7 @@
                             );
                         }
                     } catch (Exception ex) {
-                        appendMessage("Error: " + ex.getMessage());
+                        appendMessage("ERROR: " + ex.getClass().getName() + " "+ ex.getMessage());
                         ex.printStackTrace();
                     } finally {
                         filePost.releaseConnection();



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


Mime
View raw message