Class BasicEList.BasicIndexOutOfBoundsException

All Implemented Interfaces:
Serializable
Enclosing class:
BasicEList<E>

protected static class BasicEList.BasicIndexOutOfBoundsException extends AbstractEList.BasicIndexOutOfBoundsException
An IndexOutOfBoundsException that constructs a message from the argument data. Having this avoids having the byte code that computes the message repeated/inlined at the creation site.
See Also:
  • Constructor Details

    • BasicIndexOutOfBoundsException

      public BasicIndexOutOfBoundsException(int index, int size)
      Constructs an instance with a message based on the arguments.