List of usage examples for org.hibernate InstantiationException getMessage
@Override
public String getMessage()
From source file:org.unitime.timetable.onlinesectioning.server.AbstractServer.java
License:Open Source License
@Override public <X extends OnlineSectioningAction> X createAction(Class<X> clazz) { try {/*from w w w. j a va2 s. c o m*/ return clazz.newInstance(); } catch (InstantiationException e) { throw new SectioningException(e.getMessage(), e); } catch (IllegalAccessException e) { throw new SectioningException(e.getMessage(), e); } }