Add javadoc to ExportDms and remove unnecessary exception declarations