final MD5MD5CRC32FileChecksum checksum = DFSClient.getFileChecksum(
filename, nnproxy, socketFactory, socketTimeout);
MD5MD5CRC32FileChecksum.write(xml, checksum);
} catch(IOException ioe) {
new RemoteException(ioe.getClass().getName(), ioe.getMessage()
).writeXml(filename, xml);
} catch (InterruptedException e) {
new RemoteException(e.getClass().getName(), e.getMessage()
).writeXml(filename, xml);
}
xml.endDocument();
}