Bug 139107 Birt viewer with no error messages response
My birt viewer is under tomcat 5.5 webapps. I have a report with report parameters, account and password, to connect to database. Everything is doing just fine with correct account and password. However, when the account/password is wrong, the viewer show up the report title and got no error message or data. I've tried the report at Eclipse. if the password is wrong, I can get error message something like "failed to get connection". And I also turn the viewer log to FINEST, the "failed to get connection" message exist in the log file. Don't know how to let the error message response to the browser, otherwise users got no idea is there errors or no data.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/IEngineTask.java
/**
	 * defines an additional Java object that is exposed to BIRT scripting at a per-task level
	 * @param jsName the name that the object is referenced in JavaScript
	 * @param obj the Java object that is wrapped and scripted
	 */
	public void addScriptableJavaObject(String jsName, Object obj);
	
	 /**
     * returns an identifier for the task. The identifier can be used to identify the
     * task, especially when writing logs in a multi-threaded environment.  
     * @return an identifier for the task.
     */
    public abstract int getID();
	/**
	 * returns the runnable report design object
	 * @return the runnable report design object
	 */
	public abstract IReportRunnable getReportRunnable();
	
	/**
	 * set all parameter valuess
	 * @param params a hash map with all parameters
	 */
	public abstract void setParameterValues(Map params);
	
	/**
	 * sets one parameter value
	 * @param name parameter name
	 * @param value parameter value
	 */