buildframework/helium/sf/java/diamonds/src/com/nokia/helium/diamonds/DiamondsClient.java
changeset 588 c7c26511138f
parent 587 85df38eb4012
child 628 7c4a911dc066
--- a/buildframework/helium/sf/java/diamonds/src/com/nokia/helium/diamonds/DiamondsClient.java	Tue Apr 27 08:33:08 2010 +0300
+++ b/buildframework/helium/sf/java/diamonds/src/com/nokia/helium/diamonds/DiamondsClient.java	Wed Jun 16 16:51:40 2010 +0300
@@ -197,6 +197,10 @@
                 postMethod = getPostMethod(fileName, strURL);
                 result = processPostMethodResult(httpClient
                         .executeMethod(postMethod));
+            } catch (IllegalArgumentException e) {
+                // Catching this exception is needed because it is raised by httpclient
+                // library if the server is under update.
+                log.error("sendData:The final data via http not sent because errors:IllegalArgumentException ", e);
             } catch (DiamondsException e) {
                 log.error("sendData:The final data via http not sent because errors:DiamondsException ", e);
             } catch (IOException e) {