return new EcmaError(error, message, sourceName, lineNumber, lineSource, columnNumber);
int line = 0; String filename = null; Context cx = Context.getCurrentContext(); if (cx != null) { int[] linep = new int[1]; filename = cx.getSourcePositionFromStack(linep); line = linep[0]; } return constructError(error, message, filename, line, null, 0);
    public static EcmaError constructError(String error,                                           String message,                                           String sourceName,                                           int lineNumber,                                           String lineSource,                                           int columnNumber)    {        return new EcmaError(error, message, sourceName,                             lineNumber, lineSource, columnNumber);    }