|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.teamdev.jxbrowser.script.ScriptErrorEvent
public final class ScriptErrorEvent
Contains information about JavaScript error.
| Constructor Summary | |
|---|---|
ScriptErrorEvent(ScriptErrorWatcher source,
java.lang.String sourceFile,
int lineNumber,
java.lang.String message,
ScriptErrorType type)
Construct a new ScriptErrorEvent instance according to the
passed parameters. |
|
| Method Summary | |
|---|---|
int |
getLineNumber()
Returns the line number where error occured. |
java.lang.String |
getMessage()
Returns the error message. |
java.lang.String |
getSourceFile()
Returns the source file name where error occurred. |
ScriptErrorType |
getType()
Returns the script error type. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptErrorEvent(ScriptErrorWatcher source,
java.lang.String sourceFile,
int lineNumber,
java.lang.String message,
ScriptErrorType type)
ScriptErrorEvent instance according to the
passed parameters.
source - the object on which the event initially occurred.sourceFile - the file name that contains script.lineNumber - the line number where error occured.message - the string that represents error message.type - the script error type.| Method Detail |
|---|
public java.lang.String getSourceFile()
public int getLineNumber()
public java.lang.String getMessage()
public ScriptErrorType getType()
ScriptErrorType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||