@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML + CHARSET })
public UserDTO getUser(@PathParam("id") Long id) {
try {
User entity = accountManager.getInitedUser(id);
UserDTO dto = dozer.map(entity, UserDTO.class);
return dto;
} catch (ObjectNotFoundException e) {
String message = "用户不存在(id:" + id + ")";
logger.error(message, e);