@PublicAPI public class MRecordParseException extends java.lang.Exception
Constructor and Description |
---|
MRecordParseException(MRecordReader.Position l,
java.lang.String s)
Creates an exception with the specified message.
|
MRecordParseException(MRecordReader.Position l,
java.lang.String s,
java.lang.Throwable cause)
Creates an exception with the specified message and cause.
|
MRecordParseException(MRecordReader.Position l,
java.lang.Throwable cause)
Creates an exception with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
MRecordReader.Position |
getPosition()
Gets the position of the error.
|
public MRecordParseException(MRecordReader.Position l, java.lang.String s)
l
- the position in the input files
- the messagepublic MRecordParseException(MRecordReader.Position l, java.lang.String s, java.lang.Throwable cause)
l
- the position in the input files
- the messagecause
- the causepublic MRecordParseException(MRecordReader.Position l, java.lang.Throwable cause)
l
- the position in the input filecause
- the causepublic MRecordReader.Position getPosition()