001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.data.osm;
003
004public class DataIntegrityProblemException extends RuntimeException {
005
006    private final String htmlMessage;
007
008    public DataIntegrityProblemException(String message) {
009        this(message, null);
010    }
011
012    public DataIntegrityProblemException(String message, String htmlMessage) {
013        super(message);
014        this.htmlMessage = htmlMessage;
015    }
016
017    public String getHtmlMessage() {
018        return htmlMessage;
019    }
020}