... set to 0.If bits is too large (greater than 8), size is too large (greater than 2bits), orthe red, green, and blue arrays are too small to hold the map, the run-timeexception ArrayIndexOutOfBoundsException ... set to 0; they are transparent if hasalpha is true, opaque otherwise.If bits is too large (greater than 8), size is too large (greater than 2bits), orthe colorMap array is too small to hold ... bits istoo large (greater than 8), size is too large (greater than 2bits), or the red,green, blue, and alpha arrays are too small to hold the map, the run-timeexception ArrayIndexOutOfBoundsException...