Code example for NoSuchAlgorithmException

Methods: toString

0
			guid =  gcrsClient.lookupUserGuid(username);
		} catch (RuntimeException e) {
			try { 
				guid =  gcrsClient.registerNewUser(username);
			} catch (NoSuchAlgorithmException e1) {
				GCRS.getLogger().severe(e1.toString());
			} catch (IOException e1) {
				GCRS.getLogger().severe(e1.toString());
			} 
		} catch (IOException e) {
			GCRS.getLogger().severe(e.toString());
		} 
		if (guid.contains("+BADUSER+")) {
			try { 
				guid =  gcrsClient.registerNewUser(username);
			} catch (NoSuchAlgorithmException e1) {
				GCRS.getLogger().severe(e1.toString());
			} catch (IOException e1) {
				GCRS.getLogger().severe(e1.toString());
			} 
		} 
		return guid;