Subversion Repositories SmartDukaan

Rev

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

Rev 11961 Rev 11962
Line 513... Line 513...
513
			}
513
			}
514
			i++;
514
			i++;
515
		}
515
		}
516
		if(currentInventoryItemList.size()==0){
516
		if(currentInventoryItemList.size()==0){
517
			try {
517
			try {
518
				mailer.sendSSLMessage(sendTo,"Unable to fetch current inventory "+ sdf.format(System.currentTimeMillis()),"Error : Unable to fetch current inventory ", emailFromAddress, password, new ArrayList<File>());
518
				mailer.sendSSLMessage(sendTo,"Snapdeal : Unable to fetch current inventory "+ sdf.format(System.currentTimeMillis()),"Error : Unable to fetch current inventory ", emailFromAddress, password, new ArrayList<File>());
519
			} catch (MessagingException e) {
519
			} catch (MessagingException e) {
520
				e.printStackTrace();
520
				e.printStackTrace();
521
			}
521
			}
522
			System.exit(0);
522
			System.exit(0);
523
		}
523
		}