if (z != null && z > getSizeZ()) throw new DimensionsOutOfBoundsException("Z '" + z + "' greater than height '" + getSizeZ() + "'.");  if (c != null && c > getSizeC()) throw new DimensionsOutOfBoundsException("C '" + c + "' greater than height '" + getSizeC() + "'.");  if (t != null && t > getSizeT()) throw new DimensionsOutOfBoundsException("T '" + t + "' greater than height '" + getSizeT() + "'.");
    private void checkBounds(Integer y, Integer z, Integer c, Integer t)        throws DimensionsOutOfBoundsException    {        if (y != null && y > getSizeY())            throw new DimensionsOutOfBoundsException("Y '" + y +                    "' greater than height '" + getSizeY() + "'.");    }