Class AbstractEList.BasicIndexOutOfBoundsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
org.eclipse.emf.common.util.AbstractEList.BasicIndexOutOfBoundsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BasicEList.BasicIndexOutOfBoundsException
Enclosing class:
AbstractEList<E>

protected static class AbstractEList.BasicIndexOutOfBoundsException extends IndexOutOfBoundsException
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.