try {
return userService.getUser(applicationId, userId);
} catch (final UmiException e) {
throw new UamClientException(MessageFormat.format("Unable to find application: {0}.", e.getLocalizedMessage()), e); //$NON-NLS-1$
} catch (final RemoteAccessException e) {
throw new FlexessConnectException(MessageFormat.format("Can't connect: {0}.", e.getLocalizedMessage()), e); //$NON-NLS-1$
}
}