public class ModelParseException extends IOException
| Constructor and Description | 
|---|
| ModelParseException(String message,
                   int lineNumber,
                   int columnNumber)Creates a new parser exception with the specified details. | 
| ModelParseException(String message,
                   int lineNumber,
                   int columnNumber,
                   Throwable cause)Creates a new parser exception with the specified details. | 
| Modifier and Type | Method and 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. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModelParseException(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 ModelParseException(String message, int lineNumber, int columnNumber, 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()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.