IndexOutOfBoundsException
public
class
IndexOutOfBoundsException
extends RuntimeException
| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | java.lang.IndexOutOfBoundsException | |||
|
|
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
Applications can subclass this class to indicate similar exceptions.
Summary
Public constructors | |
|---|---|
IndexOutOfBoundsException()
Constructs an |
|
IndexOutOfBoundsException(String s)
Constructs an |
|
Inherited methods | |
|---|---|
java.lang.Throwable
| |
java.lang.Object
| |
Public constructors
IndexOutOfBoundsException
IndexOutOfBoundsException ()
Constructs an IndexOutOfBoundsException with no
detail message.
IndexOutOfBoundsException
IndexOutOfBoundsException (String s)
Constructs an IndexOutOfBoundsException with the
specified detail message.
| Parameters | |
|---|---|
s |
String:
the detail message.
|
Annotations
Interfaces
Classes
- Boolean
- Byte
- Character
- Character.Subset
- Character.UnicodeBlock
- Class
- ClassLoader
- Compiler
- Double
- Enum
- Float
- InheritableThreadLocal
- Integer
- Long
- Math
- Number
- Object
- Package
- Process
- ProcessBuilder
- Runtime
- RuntimePermission
- SecurityManager
- Short
- StackTraceElement
- StrictMath
- String
- StringBuffer
- StringBuilder
- System
- Thread
- ThreadGroup
- ThreadLocal
- Throwable
- Void
Enums
Exceptions
- ArithmeticException
- ArrayIndexOutOfBoundsException
- ArrayStoreException
- ClassCastException
- ClassNotFoundException
- CloneNotSupportedException
- EnumConstantNotPresentException
- Exception
- IllegalAccessException
- IllegalArgumentException
- IllegalMonitorStateException
- IllegalStateException
- IllegalThreadStateException
- IndexOutOfBoundsException
- InstantiationException
- InterruptedException
- NegativeArraySizeException
- NoSuchFieldException
- NoSuchMethodException
- NullPointerException
- NumberFormatException
- ReflectiveOperationException
- RuntimeException
- SecurityException
- StringIndexOutOfBoundsException
- TypeNotPresentException
- UnsupportedOperationException
Errors
- AbstractMethodError
- AssertionError
- ClassCircularityError
- ClassFormatError
- Error
- ExceptionInInitializerError
- IllegalAccessError
- IncompatibleClassChangeError
- InstantiationError
- InternalError
- LinkageError
- NoClassDefFoundError
- NoSuchFieldError
- NoSuchMethodError
- OutOfMemoryError
- StackOverflowError
- ThreadDeath
- UnknownError
- UnsatisfiedLinkError
- UnsupportedClassVersionError
- VerifyError
- VirtualMachineError

