Module org.dyn4j

Class InvalidIndexException

  • All Implemented Interfaces:
    Serializable

    public class InvalidIndexException
    extends IndexOutOfBoundsException
    Represents an exception when a out of bounds index is used.

    A bit annoying that the IndexOutOfBoundsException class didn't have a constructor with an index argument until Java 9.

    Since:
    5.0.0
    Version:
    5.0.0
    Author:
    William Bittle
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidIndexException

        public InvalidIndexException​(int index)
        Minimal constructor.
        Parameters:
        index - the invalid index