Subversion Repositories SmartDukaan

Rev

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

Rev 1044 Rev 2949
Line 80... Line 80...
80
			UserContextServiceClient userContextServiceClient = new UserContextServiceClient();
80
			UserContextServiceClient userContextServiceClient = new UserContextServiceClient();
81
			in.shop2020.model.v1.user.UserContextService.Client userClient = userContextServiceClient.getClient();
81
			in.shop2020.model.v1.user.UserContextService.Client userClient = userContextServiceClient.getClient();
82
 
82
 
83
			return userClient.updatePassword(userId,oldPassword, newPassword);
83
			return userClient.updatePassword(userId,oldPassword, newPassword);
84
		} catch (UserContextException e) {
84
		} catch (UserContextException e) {
85
			e.printStackTrace();
85
			log.error("Unable to update password", e);
86
		} catch (TException e) {
86
		} catch (TException e) {
87
			e.printStackTrace();
87
		    log.error("Unable to update password", e);
88
		} catch (Exception e) {
88
		} catch (Exception e) {
89
			e.printStackTrace();
89
		    log.error("Unable to update password", e);
90
		}
90
		}
91
		return false;
91
		return false;
92
	}
92
	}
93
 
93
 
94
 
94