Subversion Repositories SmartDukaan

Rev

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

Rev 5036 Rev 5041
Line 174... Line 174...
174
	        }
174
	        }
175
	        DataLogger.logData(EventType.REGISTER_SUCCESS, getSessionId(), userinfo.getUserId(), email, "", email);
175
	        DataLogger.logData(EventType.REGISTER_SUCCESS, getSessionId(), userinfo.getUserId(), email, "", email);
176
	
176
	
177
			return true;
177
			return true;
178
		} catch (TTransportException e) {
178
		} catch (TTransportException e) {
179
			// TODO Auto-generated catch block
179
			log.error("Unable to register user." + e);
180
			e.printStackTrace();
-
 
181
		} catch (UserContextException e) {
180
		} catch (UserContextException e) {
182
			// TODO Auto-generated catch block
181
			log.error("Unable to register user." + e);
183
			e.printStackTrace();
-
 
184
		} catch (TException e) {
182
		} catch (TException e) {
185
			// TODO Auto-generated catch block
183
			log.error("Unable to register user." + e);
186
			e.printStackTrace();
-
 
187
		} catch (UserAffiliateException e) {
184
		} catch (UserAffiliateException e) {
188
			// TODO Auto-generated catch block
185
			log.error("Unable to register user." + e);
189
			e.printStackTrace();
-
 
190
		} catch (ShoppingCartException e) {
186
		} catch (ShoppingCartException e) {
191
			// TODO Auto-generated catch block
187
			log.error("Unable to register user." + e);
192
			e.printStackTrace();
-
 
193
		} catch (WidgetException e) {
188
		} catch (WidgetException e) {
194
			// TODO Auto-generated catch block
189
			log.error("Unable to register user." + e);
195
			e.printStackTrace();
-
 
196
		}
190
		}
-
 
191
		DataLogger.logData(EventType.REGISTER_FAILED_USER_EXISTS, getSessionId(), userinfo.getUserId(), email, "", email);
197
		return false;
192
		return false;
198
		
193
		
199
    }
194
    }
200
 
195
 
201
	public String getRegistrationHeaderSnippet(){
196
	public String getRegistrationHeaderSnippet(){