/* */ public Object transform(Object input)
/* */ {
/* */ try
/* */ {
/* 99 */ if (!(input instanceof Class)) {
/* 100 */ throw new FunctorException("InstantiateTransformer: Input object was not an instanceof Class, it was a " + (input == null ? "null object" : input.getClass().getName()));
/* */ }
/* */
/* 104 */ Constructor con = ((Class)input).getConstructor(this.iParamTypes);
/* 105 */ return con.newInstance(this.iArgs);
/* */ }
/* */ catch (NoSuchMethodException ex) {
/* 108 */ throw new FunctorException("InstantiateTransformer: The constructor must exist and be public ");
/* */ } catch (InstantiationException ex) {
/* 110 */ throw new FunctorException("InstantiateTransformer: InstantiationException", ex);
/* */ } catch (IllegalAccessException ex) {
/* 112 */ throw new FunctorException("InstantiateTransformer: Constructor must be public", ex); } catch (InvocationTargetException ex) {
/* */ }
/* 114 */ throw new FunctorException("InstantiateTransformer: Constructor threw an exception", ex);
/* */ }