Shorn of nonessentials, the facts in this case are as follows: The defendant, the appellant herein, was charged by complaint with the offense of robbery, i.e., a violation of section 211 of the Penal Code. A preliminary hearing was held thereon. Prior to the taking of any testimony, his attorney stated: “I would like to make a motion to exclude all unauthorized persons from the courtroom during the interval of this hearing.” Thereupon the court inquired of the district attorney and was advised that the only witness to testify on behalf of the People was the alleged victim. The court then asked the defendant’s counsel : “Do you want any of your witnesses excluded”; whereupon the latter stated: “All unauthorized persons. The defendant is entitled to a private hearing here”; and the court replied: “I don’t think so. I have never heard of such a thing. There are a few certain types of cases where he would be entitled to a private hearing.” Counsel for defendant made no attempt to enlighten the court with respect to the basis for his motion ; stated no grounds therefor; and offered no authority to support the same. It was denied. Following this, the defendant moved for production of all statements, tape recordings and
*113
transcripts made by the police and witnesses, together with the names and addresses of all witnesses interviewed; the district attorney indicated his willingness to turn his entire file over to the defense counsel; whereupon, the court instructed the former to proceed, and to give defense counsel “time enough to peruse your file.” Thereupon, the victim was called as a witness and testified to facts establishing that the defendant entered his store and committed the crime of robbery. At the conclusion of this testimony the defendant's attorney initiated a discussion of his previous request to exclude all “unauthorized persons” from the courtroom; noted that such persons were present; disclosed that he was relying on the rule in
People
v.
Elliott,
There are two issues on this appeal, i.e., (1) whether the denial of the defendant’s motion at the first hearing to exclude “all unauthorized persons” constituted a denial of due process of law which has infiltrated the whole proceeding, and (2) whether the court erred in imposing sentences upon him for both robbery and burglary.
The provisions of section 868 of the Penal Code confer upon the defendant the right to have excluded from his preliminary examination all persons except those designated by that section. If he is denied this right, the proceedings are subject to dismissal.
(People
v.
Elliott, supra,
The magistrate at the second preliminary hearing determined that the defendant had not adequately claimed his right to a private hearing at the first preliminary hearing and, therefore, waived it. The record and the law support this position. The sum total of the defendant’s initial motion was to exclude “all unauthorized persons” from the courtroom. The basis or grounds for this motion were not stated. It is apparent that the deputy district attorney and the magistrate were unfamiliar with the requirements of Penal Code section 868 and the decisions in
People
v.
Elliott, supra,
It cannot be said that the defendant in this case was denied his right to a private preliminary hearing; that he was not afforded due process of law; or that his trial was in any measure unfair. When the magistrate at the first hearing was advised of the basis for the defendant’s request, his motion to dismiss was granted although, in our view of the record, the magistrate was not required to honor that motion. However, as hereinafter noted, this dismissal had no effect on the subsequent proceedings.
The principles evident in certain general rules of law applicable to various areas of trial practice, support the conclusion that a legally sufficient request to a court must fairly state the basis therefor, particularly where the judge or magistrate presiding indicates that he has a mistaken concept of the law in the premises. Ordinarily an objection to evidence without clearly stating the precise grounds therefor, unless they are obvious, may not be urged as a basis for error
(People
v.
Owens,
Furthermore, not only did the motion in question fail to state the basis for the defendant’s request, which is necessary in order that the court might be apprised of its duty in the premises, but it also was ambiguous in context. The request to “exclude all unauthorized persons from the courtroom” failed to designate with certainty the persons to be excluded. As framed, the request immediately prompts two inquiries, i.e., (1) persons unauthorized to do what? and (2) persons unauthorized by whom? The immediate reaction of the magistrate to this request indicated that he believed the defendant was directing his attention to the exclusion of witnesses. The latter’s subsequent claim that he was entitled to a private hearing, without reference to the basis therefor, was not sufficient to remove the uncertainty existent in his motion. If it had been granted, and if the court had ordered “all unauthorized persons” to leave the courtroom, the meaningless character of the order would have become apparent immediately in any attempt to direct the bailiff to enforce it.
The dismissal of the original complaint did not bar the filing of a second complaint involving the same or a similar offense.
(People
v.
Prewitt,
The defendant’s contention that he was denied due process of law and that the court erred in refusing to dismiss the present proceedings because the magistrate in the first hearing, in response to his insufficiently expressed request, did not exclude from the courtroom all persons except those enumerated in section 868 of the Penal Code, is not well taken.
However, the defendant’s contention that the trial court erred in sentencing him to the state prison for the crime of robbery and the crime of burglary, each arising out of the same transaction, is meritorious. The defendant’s action in entering the subject store with intent to rob the proprietor and thereupon completing the act of robbery, constitutes a continuous course of conduct for which only one punishment may be imposed.
(Neal
v.
State,
The judgment appealed from is modified by striking therefrom that part thereof directing that the defendant be imprisoned for the offense of burglary, and as modified is affirmed.
Griffin, P. J., and Shepard, J., concurred.
Notes
The following is a transcript of the proceedings had at the time in question;
“Mr. Mueller [defense counsel]; May the record show at this time before I begin to cross examine that after my motion there are still numerous people in the courtroom, and the motion was denied and there are still unauthorized persons in the courtroom and all witnesses are apparently present at the hearing and in the courtroom.
“Mr. Kurilieh [deputy district attorney]: I will object to the statement that the witnesses are present. I think that there was no motion to exclude witnesses by the defense counsel.
“Mr. Mueller: The motion was to exclude all unauthorized people.
“The Court: I thought the courtroom was open to the public.
“Mr. Mueller: It is my understanding that the defendant at a preliminary hearing is entitled to a private hearing, his rights under the constitution.
“Mr. Kurilieh: As I say, before proceeding, I would request, for my own satisfaction, some authority on that point. As I say, it is not a type---
“The Court: What Code section?
“Mr. Mueller: Case of People versus Elliott and People versus Prteant. They are recent cases in the state.
“The Court: I will willingly admit that there is a great deal I don’t know that is in those law books in there. My impression has always been there are certain types of cases that fall under that category. The defendant is entitled, as I understand it, to have all witnesses for the prosecution excluded from the courtroom. Maybe I am wrong.
“Mr. Mueller: The witness has already testified, and if the record will show that I have made the motion, I will move that the charges against the defendant be dismissed at this time.
*114 “Mr. Kurilich: In relation to that motion, at no time was a request made to remove any witnesses by counsel. Only that unauthorized persons be removed. That was vague and ambiguous. It did not stipulate any class of persons. We at this time indicated we would ask any witnesses to leave and the only witness who we called was the witness present on the stand.
“The Court: If you want any witnesses for the state excluded, anybody that may hear a witness or almost anybody that had any connection whatsoever with the case, we will exclude them.
“Mr. Mueller: I believe that on the basis-
“The Court: Unauthorized persons, what are we—I believe that is too broad a statement.
“Mr. Mueller: It is my interpretation of these two cases, that unauthorized persons are everyone except the clerk, the Judge, of course, the witness testifying, the reporter, the Bailiff, and if the defendant is in custody, one officer who was there for the purpose of guarding the defendant or maintaining custody of the defendant. All others, including the witnesses who are not testifying, would be unauthorized persons.
“Mr. Kurilich: I would only say that I would have to see the case that says that. Besides, at the time defense counsel did not state who he wishes omitted other than the vague term 'unauthorized persons,’ without saying who.
“I feel that unless there is a case which states exactly that you can use a borad terminology, unauthorized witnesses, [sic] you have to say who you want excluded. That would be my impression at this time.
“However, I will be happy to look at the cases before proceeding.
“The Court: Let’s take a few minutes’ recess.
(Becess taken.)
“Mr. Mueller: Tour honor, I would again make a motion that this ease be dismissed on the basis of Feople versus Elliott.
“The Court: The ease will be dismissed.”
