Class InvalidShapeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.locationtech.spatial4j.exception.InvalidShapeException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidShapeException extends java.lang.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 usuallyParseException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidShapeException(java.lang.String reason)
InvalidShapeException(java.lang.String reason, java.lang.Throwable cause)
-