// Store values for next call
this.lastReceivedBytes = receivedSum;
this.lastTramsmittedBytes = transmittedSum;
} catch (IOException ioe) {
throw new ProfilingException("Error while reading network utilization: "
+ StringUtils.stringifyException(ioe));
} catch (NumberFormatException nfe) {
throw new ProfilingException("Error while reading network utilization: "
+ StringUtils.stringifyException(nfe));
} finally {
if (in != null) {
try {
in.close();