Class InvalidShapeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.locationtech.spatial4j.exception.InvalidShapeException
All Implemented Interfaces:
Serializable

public class InvalidShapeException extends RuntimeException
A shape was constructed but failed because, based on the given parts, it's invalid. For example a rectangle's minimum Y was specified as greater than the maximum Y. This class is not used for parsing exceptions; that's usually ParseException.
See Also:
  • Constructor Details

    • InvalidShapeException

      public InvalidShapeException(String reason, Throwable cause)
    • InvalidShapeException

      public InvalidShapeException(String reason)