jdk/src/java.desktop/share/classes/javax/imageio/ImageWriter.java
changeset 35679 e4b92165fa8d
parent 35667 ed476aba94de
child 36511 9d0388c6b336
equal deleted inserted replaced
35678:ad6cfe2f2e13 35679:e4b92165fa8d
  1480      * {@code prepareReplacePixels} without a matching call to
  1480      * {@code prepareReplacePixels} without a matching call to
  1481      * {@code endReplacePixels}.
  1481      * {@code endReplacePixels}.
  1482      * @exception IllegalArgumentException if any of the following are true:
  1482      * @exception IllegalArgumentException if any of the following are true:
  1483      * <ul>
  1483      * <ul>
  1484      * <li> {@code image} is {@code null}.
  1484      * <li> {@code image} is {@code null}.
  1485      * <li> {@code param} is {@code null}.
       
  1486      * <li> the intersected region does not contain at least one pixel.
  1485      * <li> the intersected region does not contain at least one pixel.
  1487      * <li> the layout of {@code image} does not match, or this
  1486      * <li> the layout of {@code image} does not match, or this
  1488      * writer cannot convert it to, the existing image layout.
  1487      * writer cannot convert it to, the existing image layout.
  1489      * </ul>
  1488      * </ul>
  1490      * @exception IOException if an I/O error occurs during writing.
  1489      * @exception IOException if an I/O error occurs during writing.
  1541      * @exception UnsupportedOperationException if
  1540      * @exception UnsupportedOperationException if
  1542      * {@code canWriteRasters} returns {@code false}.
  1541      * {@code canWriteRasters} returns {@code false}.
  1543      * @exception IllegalArgumentException if any of the following are true:
  1542      * @exception IllegalArgumentException if any of the following are true:
  1544      * <ul>
  1543      * <ul>
  1545      * <li> {@code raster} is {@code null}.
  1544      * <li> {@code raster} is {@code null}.
  1546      * <li> {@code param} is {@code null}.
       
  1547      * <li> the intersected region does not contain at least one pixel.
  1545      * <li> the intersected region does not contain at least one pixel.
  1548      * <li> the layout of {@code raster} does not match, or this
  1546      * <li> the layout of {@code raster} does not match, or this
  1549      * writer cannot convert it to, the existing image layout.
  1547      * writer cannot convert it to, the existing image layout.
  1550      * </ul>
  1548      * </ul>
  1551      * @exception IOException if an I/O error occurs during writing.
  1549      * @exception IOException if an I/O error occurs during writing.