Subversion Repositories SmartDukaan

Rev

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

Rev 2148 Rev 2949
Line 39... Line 39...
39
			Client logisticsClient = logisticsServiceClient.getClient();
39
			Client logisticsClient = logisticsServiceClient.getClient();
40
			days = logisticsClient.getLogisticsEstimation(itemId, pincode).getDeliveryTime();
40
			days = logisticsClient.getLogisticsEstimation(itemId, pincode).getDeliveryTime();
41
			
41
			
42
    	}catch (LogisticsServiceException e) {
42
    	}catch (LogisticsServiceException e) {
43
    		days = -1;
43
    		days = -1;
44
    		log.error(e.getMessage());
44
    		log.error("Unable to get estimate for " + itemId, e);
45
    		e.printStackTrace();
-
 
46
		}catch(TException e){
45
		}catch(TException e){
47
			
46
			
48
		}
47
		}
49
    	catch (Exception e) {
48
    	catch (Exception e) {
50
    		
49