Application to prosecute the writ shall be denied in the following cases:
(1) Where the persons are committed or detained by virtue of process issued by a court of the United States, or a judge thereof, in cases where such courts or judges have exclusive jurisdiction under the laws of the United States, or have acquired exclusive jurisdiction by the commencement of suits in such courts.
(2) Where persons are committed or detained by virtue of the final order, judgment or decree of a competent tribunal of civil or criminal jurisdiction, or by virtue of an execution issued upon such final order, judgment or decree.
(3) Where any person has willfully neglected, for the space of two whole sessions after his imprisonment, to apply for the writ to the superior court of the county in which he may be imprisoned, such person shall not have a habeas corpus in vacation time for his enlargement.
(4) Where no probable ground for relief is shown in the application. (1868-9, c. 116, s. 2; Code, s. 1624; Rev., s. 1822; C.S., s. 2206; 1971, c. 528, s. 1.)