|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.theme.util.JavaScriptErrorReporter
public class JavaScriptErrorReporter
Reports any error occurring during JavaScript files compression
| Constructor Summary | |
|---|---|
JavaScriptErrorReporter(String filename)
Error reporter constructor |
|
| Method Summary | |
|---|---|
void |
error(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
Reports an error. |
org.mozilla.javascript.EvaluatorException |
runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
Creates an EvaluatorException that may be thrown. |
void |
warning(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
Reports a warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptErrorReporter(String filename)
filename - JavaScript source filename| Method Detail |
|---|
public void warning(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
warning in interface org.mozilla.javascript.ErrorReportermessage - a String describing the warningsourceName - a String describing the JavaScript source where the warning occured; typically a filename or
URLline - the line number associated with the warninglineSource - the text of the line (may be null)lineOffset - the offset into lineSource where problem was detected
public void error(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
error in interface org.mozilla.javascript.ErrorReportermessage - a String describing the warningsourceName - a String describing the JavaScript source where the warning occured; typically a filename or
URLline - the line number associated with the warninglineSource - the text of the line (may be null)lineOffset - the offset into lineSource where problem was detected
public org.mozilla.javascript.EvaluatorException runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
runtimeError in interface org.mozilla.javascript.ErrorReportermessage - a String describing the warningsourceName - a String describing the JavaScript source where the warning occured; typically a filename or
URLline - the line number associated with the warninglineSource - the text of the line (may be null)lineOffset - the offset into lineSource where problem was detected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||