public class TooLargeArrayException extends java.lang.RuntimeException
Unchecked exception thrown if the current or desired array length is extremely large.
It is thrown by methods, creating new arrays or resizing existing arrays,
if the desired array length is too large (regardless of the amount of memory,
for example, greater than Long.MAX_VALUE),
or by methods trying to convert the array into a Java array (as
if the array is too large for storing its content in a form of Java array
(Java arrays can contain, as a maximum, Integer.MAX_VALUE (231-1) elements).
AlgART Laboratory 2007–2014
|Constructor and Description|
Constructs an instance of this class.
Constructs an instance of this class with the specified detail message.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooLargeArrayException(java.lang.String message)
message- the detail message.