}
} catch (NamingException ne) {
ne.printStackTrace();
ExceptionLog log = ExceptionLogService.log(ne,
"Falha na obten��o do PersistentAccess.");
throw new PersistException(log);
} catch (SearchException se) {
se.printStackTrace();
ExceptionLog log = ExceptionLogService.log(se,
"Falha na busca de usu�rio");
throw new PersistException(log);
} catch (Exception e) {
if (e instanceof ValidationException) {
throw (ValidationException) e;
}
e.printStackTrace();
ExceptionLog log = ExceptionLogService.log(e,
"Falha na persist�ncia de Usu�rio.");
throw new PersistException(log);
}
return usuario;
}