protected void notifyInvalidEmails (Object callbackObject, NSArray invalidAddresses) { notifyInvalidEmails( invalidAddresses ); }
protected void notifyInvalidEmails (Object callbackObject, NSArray invalidEmails) {  try { Class c = Class.forName (ERMailDelivery.callBackClassName); Class[] parameterTypes = new Class[] {callbackObject.getClass(), NSArray.class}; Method m = c.getMethod (ERMailDelivery.callBackMethodName, parameterTypes); Object[] args = new Object[] {callbackObject, invalidEmails}; m.invoke (c.newInstance(), args); } catch (ClassNotFoundException cnfe) { log.error ("ERMailSender. Unable to find class: " + ERMailDelivery.callBackClassName); throw new NSForwardException (cnfe); } catch (NoSuchMethodException nsme) { log.error ("ERMailSender. Unable to find method: " + ERMailDelivery.callBackMethodName); throw new NSForwardException (nsme); } catch (java.lang.Exception e) { log.error ("Exception occured: " + e.getMessage(), e); throw new NSForwardException (e); } }
protected void notifyInvalidEmails (Object callbackObject, NSArray invalidAddresses) {    notifyInvalidEmails( invalidAddresses );}