Class 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:
    Serialized Form
    • Constructor Detail

      • InvalidShapeException

        public InvalidShapeException​(String reason,
                                     Throwable cause)
      • InvalidShapeException

        public InvalidShapeException​(String reason)