You are an expert at summarizing long articles. Proceed to summarize the following text: 
a university student was shot and wounded when a man armed with a rifle took a class of ## and their professor hostage at the state university of new york campus here , police said .
gunman takes hostages at university