src/jdk/nashorn/internal/runtime/ParserException.java
Print this page
rev 760 : 8037400: Remove getInitialMap getters and GlobalObject interface
Reviewed-by: lagergren, jlaskey, attila
*** 24,33 ****
--- 24,34 ----
*/
package jdk.nashorn.internal.runtime;
import jdk.nashorn.api.scripting.NashornException;
+ import jdk.nashorn.internal.objects.Global;
import jdk.nashorn.internal.parser.Token;
/**
* ECMAScript parser exceptions.
*/
*** 108,117 ****
/**
* Throw this {@code ParserException} as one of the 7 native JavaScript errors
* @param global global scope object
*/
! public void throwAsEcmaException(final ScriptObject global) {
throw ECMAErrors.asEcmaException(global, this);
}
}
--- 109,118 ----
/**
* Throw this {@code ParserException} as one of the 7 native JavaScript errors
* @param global global scope object
*/
! public void throwAsEcmaException(final Global global) {
throw ECMAErrors.asEcmaException(global, this);
}
}