Package org.apache.commons.io
Class IOIndexedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.io.IOIndexedException
- All Implemented Interfaces:
Serializable
A IOException associated with a source index.
- Since:
- 2.7
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IOIndexedException
Constructs a new exception.- Parameters:
index
- index of this exception.cause
- cause exceptions.
-
-
Method Details
-
toMessage
Converts input to a suitable String for exception message.- Parameters:
index
- An index into a source collection.cause
- A cause.- Returns:
- A message.
-
getIndex
The index of this exception.- Returns:
- index of this exception.
-