Code example for NoSuchAlgorithmException

Methods: getMessage

0
			success = true;
 
		} catch (NoSuchAlgorithmException e) {
			msg= MessageUtil.getProperty("errorSignup");
			logger.error(MessageUtil.getProperty("errorSignup")
					+ " stackTrace: " + e.getMessage());
 
		} catch (UnsupportedEncodingException e) {
			msg= MessageUtil.getProperty("errorSignup");
			logger.error(MessageUtil.getProperty("errorSignup")
					+ " stackTrace: " + e.getMessage());
 
		} catch (PersistenceException e) {
			msg= MessageUtil.getProperty("errorSignup");
			logger.error(MessageUtil.getProperty("errorSignup")
					+ " stackTrace: " + e.getMessage());
		} finally { 
			em.close();			
			user = new User();
		}