Package org.locationtech.jts.triangulate
Class ConstraintEnforcementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.locationtech.jts.triangulate.ConstraintEnforcementException
- All Implemented Interfaces:
Serializable
Indicates a failure during constraint enforcement.
- Version:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with a given message.Creates a new instance with a given message and approximate location. -
Method Summary
Modifier and TypeMethodDescriptionGets the approximate location of this error.private static String
msgWithCoord
(String msg, Coordinate pt) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
pt
-
-
Constructor Details
-
ConstraintEnforcementException
Creates a new instance with a given message.- Parameters:
msg
- a string
-
ConstraintEnforcementException
Creates a new instance with a given message and approximate location.- Parameters:
msg
- a stringpt
- the location of the error
-
-
Method Details
-
msgWithCoord
-
getCoordinate
Gets the approximate location of this error.- Returns:
- a location
-