case classLengthExceeded(maxLength: Int, input: String) extends Exception with Product with Serializable
Exception that is thrown by lines(maxLength) if it encounters an
input whose length exceeds maxLength. The input parameter is set to the
input String that caused lines to fail.
Exception that is thrown by
lines(maxLength)
if it encounters an input whose length exceedsmaxLength
. Theinput
parameter is set to the inputString
that causedlines
to fail.