Index: trunk/src/org/openstreetmap/josm/data/osm/DataIntegrityProblemException.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/DataIntegrityProblemException.java	(revision 12033)
+++ trunk/src/org/openstreetmap/josm/data/osm/DataIntegrityProblemException.java	(revision 12036)
@@ -2,12 +2,25 @@
 package org.openstreetmap.josm.data.osm;
 
+/**
+ * Exception thrown when a primitive or data set does not pass its integrity checks.
+ * @since 2399
+ */
 public class DataIntegrityProblemException extends RuntimeException {
 
     private final String htmlMessage;
 
+    /**
+     * Constructs a new {@code DataIntegrityProblemException}.
+     * @param message the detail message
+     */
     public DataIntegrityProblemException(String message) {
         this(message, null);
     }
 
+    /**
+     * Constructs a new {@code DataIntegrityProblemException}.
+     * @param message the detail message
+     * @param htmlMessage HTML-formatted error message. Can be null
+     */
     public DataIntegrityProblemException(String message, String htmlMessage) {
         super(message);
@@ -15,4 +28,8 @@
     }
 
+    /**
+     * Returns the HTML-formatted error message.
+     * @return the HTML-formatted error message, or null
+     */
     public String getHtmlMessage() {
         return htmlMessage;
