ReportItemDesign design = (ReportItemDesign) content.getGenerateBy( );
ReportItemDesign design = null; if ( content != null ) design = (ReportItemDesign) content.getGenerateBy( );
	public void addException( BirtException ex )	{		IContent content = getContent( );		ReportItemDesign design = (ReportItemDesign) content.getGenerateBy( );		DesignElementHandle handle = design == null ? null : design.getHandle( );		addException( handle, ex );	}