public class IOIndexedException extends IOException
Constructor and Description |
---|
IOIndexedException(int index,
Throwable cause)
Creates a new exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
The index of this exception.
|
protected static String |
toMessage(int index,
Throwable cause)
Converts input to a suitable Stirng for exception message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IOIndexedException(int index, Throwable cause)
index
- index of this exception.cause
- cause exceptions.protected static String toMessage(int index, Throwable cause)
index
- An index into a source collection.cause
- A cause.public int getIndex()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.