Subversion Repositories SmartDukaan

Rev

Rev 11552 | Rev 12617 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11552 Rev 11855
Line 711... Line 711...
711
							}
711
							}
712
							fbaSalesSnapShotList.add(amazonfbasalessnapshot);
712
							fbaSalesSnapShotList.add(amazonfbasalessnapshot);
713
						}
713
						}
714
					}
714
					}
715
					System.out.println("Order Details to be Updated Size... "+fbaSalesSnapShotList.size());
715
					System.out.println("Order Details to be Updated Size... "+fbaSalesSnapShotList.size());
-
 
716
					boolean tryagain = true;
-
 
717
					while(tryagain){
716
					try{
718
						try{
717
						transactionServiceClient.getClient().bulkAddOrUpdateAmazonFbaSalesSnapshot(fbaSalesSnapShotList);
719
							transactionServiceClient.getClient().bulkAddOrUpdateAmazonFbaSalesSnapshot(fbaSalesSnapShotList);
-
 
720
							tryagain=false;
718
					}
721
						}
719
					catch(TTransportException ex){
722
						catch(Exception ex){
720
						new TransactionClient().getClient().bulkAddOrUpdateAmazonFbaSalesSnapshot(fbaSalesSnapShotList);
-
 
-
 
723
						}
721
					}
724
					}
722
				} catch (IOException e) {
725
				} catch (IOException e) {
723
					// TODO Auto-generated catch block
-
 
724
					e.printStackTrace();
726
					e.printStackTrace();
725
				} catch (ParseException e) {
727
				} catch (ParseException e) {
726
					// TODO Auto-generated catch block
-
 
727
					e.printStackTrace(); 
728
					e.printStackTrace(); 
728
				} catch (TException e) {
729
				} catch (TException e) {
729
					// TODO Auto-generated catch block
-
 
730
					e.printStackTrace();
730
					e.printStackTrace();
731
				}
731
				}
732
				break;
732
				break;
733
			}
733
			}
734
			else{ 
734
			else{