Added javadoc to getters/setters in defect class. Cleaned up the code in
DefectDOA class by adding proper exception handling and fixed numbering
errors in updateDefect method.