Skip to content

Commit d4f1fdd

Browse files
author
Gary Gregory
committed
Javadoc.
1 parent 6bcf897 commit d4f1fdd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ public IOIndexedException(final int index, final Throwable cause) {
4040
this.index = index;
4141
}
4242

43+
/**
44+
* Converts input to a suitable Stirng for exception message.
45+
*
46+
* @param index An index into a source collection.
47+
* @param cause A cause.
48+
* @return A message.
49+
*/
4350
protected static String toMessage(final int index, final Throwable cause) {
4451
// Letting index be any int
4552
final String unspecified = "Null";

0 commit comments

Comments
 (0)