org.eclipse.emf.common.util
Class BasicEList.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
                      extended by org.eclipse.emf.common.util.BasicEList.BasicIndexOutOfBoundsException
All Implemented Interfaces:
java.io.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:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
BasicEList.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

BasicEList.BasicIndexOutOfBoundsException

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



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