Package org.apache.maven.toolchain.io
Class ToolchainsParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.maven.toolchain.io.ToolchainsParseException
- All Implemented Interfaces:
- Serializable
Deprecated.
Signals a failure to parse the toolchains due to invalid syntax (e.g. non well formed XML or unknown elements).
- Since:
- 3.3.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionToolchainsParseException(String message, int lineNumber, int columnNumber) Deprecated.Creates a new parser exception with the specified details.ToolchainsParseException(String message, int lineNumber, int columnNumber, Throwable cause) Deprecated.Creates a new parser exception with the specified details.
- 
Method SummaryModifier and TypeMethodDescriptionintDeprecated.Gets the one-based index of the column containing the error.intDeprecated.Gets the one-based index of the line containing the error.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ToolchainsParseExceptionDeprecated.Creates a new parser exception with the specified details.- Parameters:
- message- The error message, may be- null.
- lineNumber- The one-based index of the line containing the error or- -1if unknown.
- columnNumber- The one-based index of the column containing the error or- -1if unknown.
 
- 
ToolchainsParseExceptionDeprecated.Creates a new parser exception with the specified details.- Parameters:
- message- The error message, may be- null.
- lineNumber- The one-based index of the line containing the error or- -1if unknown.
- columnNumber- The one-based index of the column containing the error or- -1if unknown.
- cause- The nested cause of this error, may be- null.
 
 
- 
- 
Method Details- 
getLineNumberpublic int getLineNumber()Deprecated.Gets the one-based index of the line containing the error.- Returns:
- The one-based index of the line containing the error or a non-positive value if unknown.
 
- 
getColumnNumberpublic int getColumnNumber()Deprecated.Gets the one-based index of the column containing the error.- Returns:
- The one-based index of the column containing the error or non-positive value if unknown.
 
 
-