public class PACScriptErrorParams
extends java.lang.Object
Constructor and Description |
---|
PACScriptErrorParams(int lineNumber, java.lang.String errorText)
Constructs a new
PACScriptErrorParams instance with given
lineNumber and
errorText .
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorText()
Returns a string that represents PAC script error message.
返回表示PAC脚本错误消息的字符串。 |
int |
getLineNumber()
Returns number of the line at which the error happens.
返回发生错误的行号。 |
public PACScriptErrorParams(int lineNumber, java.lang.String errorText)
PACScriptErrorParams
instance with given
lineNumber
and
errorText
.
lineNumber
- line number in PAC script file.
-PAC脚本文件中的行号。
errorText
- a string that represents PAC script error message.
-表示PAC脚本错误消息的字符串。
public int getLineNumber()
public java.lang.String getErrorText()