com.teamdev.jxbrowser.console
Class ScriptErrorEvent
java.lang.Object
com.teamdev.jxbrowser.console.MessageEvent
com.teamdev.jxbrowser.console.ScriptErrorEvent
public class ScriptErrorEvent
- extends MessageEvent
This class contains information about script error.
- See Also:
ConsoleListener
,
ConsoleService
Constructor Summary |
ScriptErrorEvent(com.teamdev.jxbrowser.impl.console.ScriptErrorInitData initData)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptErrorEvent
public ScriptErrorEvent(com.teamdev.jxbrowser.impl.console.ScriptErrorInitData initData)
getCategory
public java.lang.String getCategory()
- Returns:
- category of script error in string type.
getColumnNumber
public long getColumnNumber()
- Returns:
- column number in html content where error found.
getType
public com.teamdev.jxbrowser.console.ScriptErrorType getType()
- Returns:
- type of script error in
ScriptErrorType
.
getLineNumber
public long getLineNumber()
- Returns:
- line number in html content where error found
getSourceLine
public java.lang.String getSourceLine()
- Returns:
- line number in script source where error found
getSourceName
public java.lang.String getSourceName()
- Returns:
- name of script source
getErrorMessage
public java.lang.String getErrorMessage()
- Returns:
- error message.