Add error process to getDeviceInfo and getPortInfo at DaoImpl.