Author: tilman
Date: Tue Sep 16 11:11:00 2025
New Revision: 1928505
Log:
PDFBOX-5660: improve javadoc
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Tue Sep 16 09:44:51 2025 (r1928504)
+++
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Tue Sep 16 11:11:00 2025 (r1928505)
@@ -1230,6 +1230,10 @@ public class PDDocument implements Close
*
* @param pageIndex the 0-based page index
* @return the page at the given index.
+ *
+ * @throws IllegalStateException if the requested index isn't found or
doesn't point to a valid
+ * page dictionary.
+ * @throws IndexOutOfBoundsException if the requested index is higher than
the page count.
*/
public PDPage getPage(int pageIndex) // todo: REPLACE most calls to this
method with BELOW method
{