Package org.meteoinfo.jts.triangulate
Class ConstraintEnforcementException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.meteoinfo.jts.triangulate.ConstraintEnforcementException
-
public class ConstraintEnforcementException extends java.lang.RuntimeExceptionIndicates a failure during constraint enforcement.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinategetCoordinate()Gets the approximate location of this error.
-
-
-
Constructor Detail
-
ConstraintEnforcementException
public ConstraintEnforcementException(java.lang.String msg)
Creates a new instance with a given message.- Parameters:
msg- a string
-
ConstraintEnforcementException
public ConstraintEnforcementException(java.lang.String msg, Coordinate pt)Creates a new instance with a given message and approximate location.- Parameters:
msg- a stringpt- the location of the error
-
-
Method Detail
-
getCoordinate
public Coordinate getCoordinate()
Gets the approximate location of this error.- Returns:
- a location
-
-