com.vividsolutions.jts.triangulate
public class ConstraintEnforcementException extends java.lang.RuntimeException
Constructor and Description |
---|
ConstraintEnforcementException(java.lang.String msg)
Creates a new instance with a given message.
|
ConstraintEnforcementException(java.lang.String msg,
Coordinate pt)
Creates a new instance with a given message and approximate location.
|
Modifier and Type | Method and Description |
---|---|
Coordinate |
getCoordinate()
Gets the approximate location of this error.
|
public ConstraintEnforcementException(java.lang.String msg)
msg
- a stringpublic ConstraintEnforcementException(java.lang.String msg, Coordinate pt)
msg
- a stringpt
- the location of the errorpublic Coordinate getCoordinate()