public class LinkerException extends RuntimeException
| Constructor and Description |
|---|
LinkerException()
Creates a new linker exception.
|
LinkerException(String message)
Creates a new linker exception with given message.
|
LinkerException(String message,
Throwable cause)
Creates a new linker exception from given message and cause.
|
LinkerException(Throwable cause)
Creates a new linker exception from cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCharPositionInLine()
Returns position of the exception.
|
String |
getFileName()
Returns YANG file name of the exception.
|
int |
getLineNumber()
Returns line number of the exception.
|
void |
setCharPosition(int charPosition)
Sets position of exception.
|
void |
setFileName(String fileName)
Sets file name in parser exception.
|
void |
setLine(int line)
Sets line number of YANG file.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LinkerException()
public LinkerException(String message)
message - the detail of exception in stringpublic LinkerException(String message, Throwable cause)
message - the detail of exception in stringcause - underlying cause of the errorpublic LinkerException(Throwable cause)
cause - underlying cause of the errorpublic int getLineNumber()
public String getFileName()
public int getCharPositionInLine()
public void setLine(int line)
line - line number of YANG filepublic void setCharPosition(int charPosition)
charPosition - position of exceptionpublic void setFileName(String fileName)
fileName - YANG file nameCopyright © 2016. All rights reserved.