com.vividsolutions.jts.triangulate
Class ConstraintEnforcementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vividsolutions.jts.triangulate.ConstraintEnforcementException
- All Implemented Interfaces:
- Serializable
public class ConstraintEnforcementException
- extends RuntimeException
Indicates a failure during constraint enforcement.
- Version:
- 1.0
- Author:
- Martin Davis
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConstraintEnforcementException
public ConstraintEnforcementException(String msg)
- Creates a new instance with a given message.
- Parameters:
msg
- a string
ConstraintEnforcementException
public ConstraintEnforcementException(String msg,
Coordinate pt)
- Creates a new instance with a given message and approximate location.
- Parameters:
msg
- a stringpt
- the location of the error
getCoordinate
public Coordinate getCoordinate()
- Gets the approximate location of this error.
- Returns:
- a location
Copyright © 2012. All Rights Reserved.