Class TopologyValidationError

Hierarchy: Object , TopologyValidationError
public class TopologyValidationError
Contains information about the nature and location of a Geometry validation error

Other

  • version: 1.7
public TopologyValidationError(int errorType, Coordinate pt)
Creates a validation error with the given type and location
Parameters:
errorType - errorType the type of the error
pt - pt the location of the error
public TopologyValidationError(int errorType)
Creates a validation error of the given type with a null location
Parameters:
errorType - errorType the type of the error
public Coordinate getCoordinate()
Returns the location of this error (on the Geometry containing the error).
Returns:
a Coordinate on the input geometry
public int getErrorType()
Gets the type of this error.
Returns:
the error type
public String getMessage()
Gets an error message describing this error. The error message does not describe the location of the error.
Returns:
the error message
public String toString()
Gets a message describing the type and location of this error.
Returns:
the error message