java.lang
Class IndexOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException
public class IndexOutOfBoundsException
- extends RuntimeException
IndexOutOfBoundsException is thrown when an attempt is made to use
an index that is outside of the permitted range for the accessed
object.
- Since:
- 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IndexOutOfBoundsException
public IndexOutOfBoundsException()
- Constructor for an IndexOutOfBoundsException with no detail
message.
IndexOutOfBoundsException
public IndexOutOfBoundsException(String s)
- Constructor for an IndexOutOfBoundsException with given detail
message.
ensures
(s != null IMPLIES getMessage().equals(s));
- Parameters:
s
- the detail message.
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.