Skip to content

Commit b79b6ea

Browse files
author
Gary Gregory
committed
Javadoc.
1 parent d15f480 commit b79b6ea

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main/java/org/apache/commons/io/IOExceptionList.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public IOExceptionList(List<? extends Throwable> causeList) {
4949
/**
5050
* Gets the cause list.
5151
*
52+
* @param <T> type of exception to return.
5253
* @return The list of causes.
5354
*/
5455
public <T extends Throwable> List<T> getCauseList() {
@@ -58,6 +59,7 @@ public <T extends Throwable> List<T> getCauseList() {
5859
/**
5960
* Gets the cause list.
6061
*
62+
* @param <T> type of exception to return.
6163
* @param index index in the cause list.
6264
* @return The list of causes.
6365
*/
@@ -68,7 +70,9 @@ public <T extends Throwable> T getCause(final int index) {
6870
/**
6971
* Gets the cause list.
7072
*
73+
* @param <T> type of exception to return.
7174
* @param index index in the cause list.
75+
* @param clazz type of exception to return.
7276
* @return The list of causes.
7377
*/
7478
public <T extends Throwable> T getCause(final int index, Class<T> clazz) {
@@ -78,7 +82,7 @@ public <T extends Throwable> T getCause(final int index, Class<T> clazz) {
7882
/**
7983
* Works around Throwable and Generics, may fail at runtime depending on the argument value.
8084
*
81-
* @param <T> the target type
85+
* @param <T> type of exception to return.
8286
* @param clazz the target type
8387
* @return The list of causes.
8488
*/

0 commit comments

Comments
 (0)