out.close();
} catch (Exception ex) {
}
outFile.delete();
}
throw new StreamWriteException("Error writing temp stream", e);
}
// if we got this far w/o an exception, add to hash with current time
// and return the identifier-that-looks-like-a-url
long now = System.currentTimeMillis();
m_uploadStartTime.put(id, new Long(now));