code: public static void checkColorRenderableTexture2D(
      final JCGLTextureFormat t)
      throws JCGLExceptionFormatError
    {
      if (!isColorRenderable2D(t)) {
        final String m = String.format(
          "Format %s is not color-renderable for 2D textures", t);
        assert m != null;
        throw new JCGLExceptionFormatError(m);
      }
    }
docs: Check that the texture format is a color-renderable format.
  
  @param t The texture format
  
  @throws JCGLExceptionFormatError If the texture is not of the correct
  format