public class DefaultLineNumberConverter extends java.lang.Object implements LineNumberConverter
Constructor and Description |
---|
DefaultLineNumberConverter(ScriptWrapper<?> wrapper) |
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber(int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLineNumber
public DefaultLineNumberConverter(ScriptWrapper<?> wrapper)
public int getLineNumber(int lineNumber, boolean isException)
getLineNumber
in interface LineNumberConverter
lineNumber
- the line numberisException
- true for getting the line number for an exceptionCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence