throw new BadConfigurationException("could not instantiate write support class: " + writeSupportClass, e);
(and bellow)