Skip to content

Commit 5370a0b

Browse files
committed
PDFBOX-5660: improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1928507 13f79535-47bb-0310-9956-ffa450edef68
1 parent c475bea commit 5370a0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,10 @@ public ExternalSigningSupport saveIncrementalForExternalSigning(OutputStream out
12321232
*
12331233
* @param pageIndex the 0-based page index
12341234
* @return the page at the given index.
1235+
*
1236+
* @throws IllegalStateException if the requested index isn't found or doesn't point to a valid
1237+
* page dictionary.
1238+
* @throws IndexOutOfBoundsException if the requested index is higher than the page count.
12351239
*/
12361240
public PDPage getPage(int pageIndex) // todo: REPLACE most calls to this method with BELOW method
12371241
{

0 commit comments

Comments
 (0)