public class IOIndexedException
extends java.io.IOException
| Modifier and Type | Field and Description |
|---|---|
private int |
index
Index.
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
IOIndexedException(int index,
java.lang.Throwable cause)
Constructs a new exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
The index of this exception.
|
protected static java.lang.String |
toMessage(int index,
java.lang.Throwable cause)
Converts input to a suitable String for exception message.
|
private static final long serialVersionUID
private final int index
public IOIndexedException(int index,
java.lang.Throwable cause)
index - index of this exception.cause - cause exceptions.protected static java.lang.String toMessage(int index,
java.lang.Throwable cause)
index - An index into a source collection.cause - A cause.public int getIndex()