java.io.Serializablepublic class MetadataParseException
extends java.io.IOException
| Constructor | Description |
|---|---|
MetadataParseException(java.lang.String message,
int lineNumber,
int columnNumber) |
Creates a new parser exception with the specified details.
|
MetadataParseException(java.lang.String message,
int lineNumber,
int columnNumber,
java.lang.Throwable cause) |
Creates a new parser exception with the specified details.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getColumnNumber() |
Gets the one-based index of the column containing the error.
|
int |
getLineNumber() |
Gets the one-based index of the line containing the error.
|
public MetadataParseException(java.lang.String message,
int lineNumber,
int columnNumber)
message - The error message, may be null.lineNumber - The one-based index of the line containing the error or -1 if unknown.columnNumber - The one-based index of the column containing the error or -1 if unknown.public MetadataParseException(java.lang.String message,
int lineNumber,
int columnNumber,
java.lang.Throwable cause)
message - The error message, may be null.lineNumber - The one-based index of the line containing the error or -1 if unknown.columnNumber - The one-based index of the column containing the error or -1 if unknown.cause - The nested cause of this error, may be null.public int getLineNumber()
public int getColumnNumber()