JTS Core 1.17.1
Packages
Classes
Search
About
Top
ConstraintEnforcementException(String)
ConstraintEnforcementException(String, Coordinate)
getCoordinate(): Coordinate
Bottom
Source
Classic
org.locationtech.jts.triangulate
Class ConstraintEnforcementException
Hierarchy:
Object
,
Object
,
Throwable
,
Exception
,
RuntimeException
, ConstraintEnforcementException
All Implemented Interfaces:
Serializable
public class ConstraintEnforcementException
extends
RuntimeException
Indicates a failure during constraint enforcement.
Authors:
Martin Davis
Other
version: 1.0
public
ConstraintEnforcementException(
String
msg)
Creates a new instance with a given message.
Parameters:
msg - msg a string
public
ConstraintEnforcementException(
String
msg,
Coordinate
pt)
Creates a new instance with a given message and approximate location.
Parameters:
msg - msg a string
pt - pt the location of the error
public
Coordinate
getCoordinate()
Gets the approximate location of this error.
Returns:
a location