org.eclipse.emf.common.util
Class AbstractEList.BasicIndexOutOfBoundsException

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

protected static class AbstractEList.BasicIndexOutOfBoundsException
extends java.lang.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:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
AbstractEList.BasicIndexOutOfBoundsException(int index, int size)
          Constructs an instance with a message based on the arguments.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AbstractEList.BasicIndexOutOfBoundsException

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



Copyright © 2001-2010 Eclipse Foundation. All Rights Reserved.