public class ArrayIndexOutOfBoundsException4D
extends java.lang.IndexOutOfBoundsException
< 0
or >= array.length
.
totalcross.lang
package is the java.lang
that will be used on the device.totalcross.lang
package on the desktop. When tc.Deploy
is called, all references to
java.lang
are replaced by totalcross.lang
automatically. Given this, you must use only the classes and methods that
exists BOTH in java.lang
and totalcross.lang
. For example, you can't use java.lang.ClassLoader
because
there is no totalcross.lang.ClassLoader
. Another example, you can't use java.lang.String.indexOfIgnoreCase()
because
there is no totalcross.lang.String.indexOfIgnoreCase()
method. Trying to use a class or method from the java.lang
package that has no correspondence with totalcross.lang
will make the tc.Deploy
program to abort, informing where the
problem has occurred. A good idea is to always refer to this JavaDoc to know what is and what isn't available.Constructor and Description |
---|
ArrayIndexOutOfBoundsException4D()
Constructs an empty exception.
|
ArrayIndexOutOfBoundsException4D(java.lang.String msg)
Constructs an exception with the given message.
|
public ArrayIndexOutOfBoundsException4D()
public ArrayIndexOutOfBoundsException4D(java.lang.String msg)
msg
- The error message.