try {
cl = Class.forName(getEmailAddressMapper());
mapper = (EmailAddressMapper) cl.newInstance();
} catch (InstantiationException ie) {
LOG.fatal("Could not instantiate class", ie);
throw new CruiseControlException("Could not instantiate class: "
+ getEmailAddressMapper());
} catch (ClassNotFoundException cnfe) {
LOG.fatal("Could not find class", cnfe);
throw new CruiseControlException("Could not find class: "
+ getEmailAddressMapper());
} catch (IllegalAccessException iae) {
LOG.fatal("Illegal Access", iae);
throw new CruiseControlException("Illegal Access class: "
+ getEmailAddressMapper());
}
mapper.open(this);