-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
Name: vrR10176 Date: 05/08/2001
Api spec (jdk1.4.0beta-b63) says about method
javax.imageio.IIOParam.setSourceRegion():
"public void setSourceRegion(Rectangle sourceRegion)
Sets the source region of interest.
...
Throws:
IllegalArgumentException - if sourceRegion is null-null and
~~~~~~~~~
either sourceRegion.x or sourceRegion.y is negative.
IllegalArgumentException - if sourceRegion is null-null and
~~~~~~~~~
either sourceRegion.width or sourceRegion.height is negative or 0.
IllegalStateException - if subsampling is such that this region
will have a subsampled width of zero."
Obviously used in description 'null-null' is a typo.
Also in sentence "IllegalStateException - if subsampling is
such that this region will have a subsampled width of zero."
words 'or height' should be added. The sentence should be read
as "IllegalStateException - if subsampling is such that this
region will have a subsampled width or height of zero."
======================================================================