/** * Class object initialization method. * * @param className name of the class to initialize * @return the initialized class */ private static Class initClass(String className) { Class c = null; try { c = Class.forName(className); } catch (Throwable t) { log.error( "A FATAL ERROR has occurred which should not " + "have happened under any circumstance. Please notify " + "the Torque developers <*****@*****.**> " + "and give as many details as possible (including the error " + "stack trace).", t); // Error objects should always be propagated. if (t instanceof Error) { throw (Error) t.fillInStackTrace(); } } return c; }