Package org.eclipse.emf.common.util
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 Summary
ConstructorsConstructorDescriptionBasicIndexOutOfBoundsException(int index, int size) Constructs an instance with a message based on the arguments. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BasicIndexOutOfBoundsException
public BasicIndexOutOfBoundsException(int index, int size) Constructs an instance with a message based on the arguments.
-