Module org.dyn4j

Class NullElementException

  • All Implemented Interfaces:
    Serializable

    public class NullElementException
    extends NullPointerException
    Represents an exception when a collection has a null element.
    Since:
    5.0.0
    Version:
    5.0.0
    Author:
    William Bittle
    See Also:
    Serialized Form
    • Constructor Detail

      • NullElementException

        public NullElementException​(String argumentName,
                                    int index)
        Constructor when the index is know.
        Parameters:
        argumentName - the name of the argument that contains the null element
        index - the index of the null element
      • NullElementException

        public NullElementException​(String argumentName)
        Minimal constructor.
        Parameters:
        argumentName - the name of the argument that contains the null element