Package org.openstreetmap.josm.data.osm
Class DataIntegrityProblemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openstreetmap.josm.data.osm.DataIntegrityProblemException
- All Implemented Interfaces:
Serializable
Exception thrown when a primitive or data set does not pass its integrity checks.
- Since:
- 2399
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataIntegrityProblemException(String message) Constructs a newDataIntegrityProblemException.DataIntegrityProblemException(String message, String htmlMessage, OsmPrimitive... p) Constructs a newDataIntegrityProblemException. -
Method Summary
Modifier and TypeMethodDescriptionReturns the HTML-formatted error message.private static StringrelevantCommands(OsmPrimitive... p) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
htmlMessage
-
-
Constructor Details
-
DataIntegrityProblemException
Constructs a newDataIntegrityProblemException.- Parameters:
message- the detail message
-
DataIntegrityProblemException
Constructs a newDataIntegrityProblemException.- Parameters:
message- the detail messagehtmlMessage- HTML-formatted error message. Can be nullp- the primitive involved in this integrity problem (used for constructing a detailed message)
-
-
Method Details
-
getHtmlMessage
Returns the HTML-formatted error message.- Returns:
- the HTML-formatted error message, or null
-
relevantCommands
-