Class 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 usually ParseException.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidShapeException

        public InvalidShapeException​(java.lang.String reason,
                                     java.lang.Throwable cause)
      • InvalidShapeException

        public InvalidShapeException​(java.lang.String reason)