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 usuallyParseException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidShapeException(String reason)
InvalidShapeException(String reason, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-