Class IOIndexedException

All Implemented Interfaces:
Serializable

public class IOIndexedException extends IOException
A IOException associated with a source index.
Since:
2.7
See Also:
  • Constructor Details

    • IOIndexedException

      public IOIndexedException(int index, Throwable cause)
      Constructs a new exception.
      Parameters:
      index - index of this exception.
      cause - cause exceptions.
  • Method Details

    • toMessage

      protected static String toMessage(int index, Throwable cause)
      Converts input to a suitable String for exception message.
      Parameters:
      index - An index into a source collection.
      cause - A cause.
      Returns:
      A message.
    • getIndex

      public int getIndex()
      The index of this exception.
      Returns:
      index of this exception.