■Jane Doe and Robert Roe (the students) filed this action against Barnwell School District 45 and the Barnwell County Sheriffs Department alleging, inter alia, gross negligence in hiring and supervising personnel and resource officers. The trial court dismissed the action against the district for lack of subject matter jurisdiction. We reverse and remand.
*661 FACTS 2
The students attended Barnwell County High School. During a football game on September 19, 2003, a police officer and a deputy sheriff discovered the students sitting in the back seat of an automobile parked on school grounds. Another deputy sheriff, who was a resource officer at the school, joined them at the car. The police officer informed the deputies that he did not observe any inappropriate behavior or contact between the students. 3 The officer left the students in the care of the deputies. The deputies questioned the students after escorting them to a school office. The principal and two assistant principals were present and participated in the questioning.
The students claim one of the deputies “attempted to intimidate and humiliate [Roe] by screaming, insulting, threatening, and other inappropriate language.” The students’ parents were summoned to the school and informed their children had engaged in sexual activity while on school grounds. As a result, Doe’s parents took her to a hospital to undergo medical testing to determine if she had engaged in sexual intercourse. The medical examination determined Doe had never engaged in sexual intercourse. Although the principal initially threatened the students with expulsion or ten days suspension, she ultimately suspended them for only five days. The students appealed the principal’s decision to the school board, which upheld the suspension.
The students then filed this action. As to the district, the students alleged the principal failed to protect them and the district failed to properly train and supervise the principal and resource officers. The trial court dismissed the suit against the district for lack of subject matter jurisdiction because it found the students were attempting to “circumvent the prohibition against appealing short-term student suspensions____”
STANDARD OF REVIEW
“[S]ubject matter jurisdiction is a question of law for the court.”
Murphy v. Owens-Corning Fiberglas Corp.,
346
*662
S.C. 37, 43,
LAW/ANALYSIS
The students, contending their suit is based on gross negligence arising from the interrogation, argue the trial court erred in finding the lawsuit pertained to a school suspension and dismissing the complaint for lack of subject matter jurisdiction. We agree. 4
“Subject matter jurisdiction is the power to hear and determine cases of the general class to which the proceedings in question belong.”
Eagle Container Co. v. County of Newberry,
The trial court agreed with the district’s contention that the single reference in the claim to section 59-19-560 of the South Carolina Code as the basis for the trial court’s jurisdiction justifies characterizing the entire action as a challenge of the
*663
temporary suspensions.
5
Although this section appears to give the circuit court jurisdiction over appeals of suspensions, the court in
Byrd
found that the more recently enacted, specific statute, section 59-63-230, essentially superseded section 59-19-560 by providing for appeal to the board of trustees.
See Byrd,
In construing a complaint, however, the court must review the entire pleading.
Smith v. Nelson,
CONCLUSION
We find the trial court erred in dismissing the action for lack of subject matter jurisdiction based solely on a finding *664 that the action was an attempt to appeal short-term suspensions. Accordingly, the order of the trial court is
REVERSED AND REMANDED.
Notes
. The facts related here are as alleged in the complaint.
. The district contends the students were engaged in inappropriate sexual activity.
. Additionally, the students claim the trial court erred in failing to allow them to amend the complaint to remove a paragraph referencing S.C.Code Ann. § 59-19-560 (Rev.2004). Because we determine the trial court had jurisdiction over the complaint as it was written, determining whether the students should have been allowed to amend is unnecessary.
. Section 59-19-560 provides: “Any party aggrieved by the order of the county board of education shall have the right to appeal to the court of common pleas.... ” S.C.Code Ann. § 59-19-560 (Rev.2004).
. At oral argument, the issue of the ultimate viability of this action was briefly mentioned. We venture no opinion on the merits of this action.
