catch(JavaScriptException ee) { logger.log( Level.SEVERE, ee.getMessage( ), ee ); context.addException( ee ); return null; }
	public Object evaluate( IBaseExpression expr )	{		if ( expr == null )		{			return null;		}		if ( !rsStack.isEmpty( ) ) // DtE handles evaluation		{			try			{				Object value = ( (DteResultSet) rsStack.getLast( ) ).getRs( )						.getValue( expr );				if ( value != null )				{					return context.jsToJava( value );				}				return null;			}			catch ( BirtException e )			{				logger.log( Level.SEVERE, e.getMessage( ), e );				context.addException( e );				return null;			}		}		// Rhino handles evaluation		if ( expr instanceof IScriptExpression )		{			return context.evaluate( ( (IScriptExpression) expr ).getText( ) );		}		if ( expr instanceof IConditionalExpression )		{			return evaluateCondExpr( (IConditionalExpression) expr );		}		//unsupported expression type		assert ( false );		return null;	}