Subversion Repositories SmartDukaan

Rev

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

Rev 1318 Rev 1466
Line 125... Line 125...
125
			return false;
125
			return false;
126
		}
126
		}
127
		
127
		
128
		
128
		
129
		try {
129
		try {
130
			if(!userClient.validateCart(currentCartId)){
130
			String errorMsg = userClient.validateCart(currentCartId); 
-
 
131
			if(!errorMsg.isEmpty()){
131
				addActionError("Your cart has been updated.");
132
				addActionError(errorMsg);
132
				return false;
133
				return false;
133
			}
134
			}
134
		} catch (ShoppingCartException e1) {
135
		} catch (ShoppingCartException e1) {
135
			log.error("Error while validating shopping cart." + e1.getId() + e1.getMessage());
136
			log.error("Error while validating shopping cart." + e1.getId() + e1.getMessage());
136
			e1.printStackTrace();
137
			e1.printStackTrace();