- Timestamp:
- 2017-05-01T21:41:20+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataIntegrityProblemException.java
r6987 r12036 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 /** 5 * Exception thrown when a primitive or data set does not pass its integrity checks. 6 * @since 2399 7 */ 4 8 public class DataIntegrityProblemException extends RuntimeException { 5 9 6 10 private final String htmlMessage; 7 11 12 /** 13 * Constructs a new {@code DataIntegrityProblemException}. 14 * @param message the detail message 15 */ 8 16 public DataIntegrityProblemException(String message) { 9 17 this(message, null); 10 18 } 11 19 20 /** 21 * Constructs a new {@code DataIntegrityProblemException}. 22 * @param message the detail message 23 * @param htmlMessage HTML-formatted error message. Can be null 24 */ 12 25 public DataIntegrityProblemException(String message, String htmlMessage) { 13 26 super(message); … … 15 28 } 16 29 30 /** 31 * Returns the HTML-formatted error message. 32 * @return the HTML-formatted error message, or null 33 */ 17 34 public String getHtmlMessage() { 18 35 return htmlMessage;
Note:
See TracChangeset
for help on using the changeset viewer.