Package org.ejbca.core.model.services

Examples of org.ejbca.core.model.services.ServiceExecutionFailedException


                  MailActionInfo mailActionInfo = new MailActionInfo(null, getAdminSubject(), message);
                  adminEmailQueue.add(new EmailCertData(userDataVO.getUsername(), mailActionInfo));
                }
            } catch (Exception e) {
                log.error("Error running service work: ", e);
                throw new ServiceExecutionFailedException(e);
            }
        }
        // Send of the mails
        if (isSendToEndUsers()) {
            sendEmails(userEmailQueue, ejbs);
View Full Code Here


                        log.debug("No certificates found for notification.");
                    }

                } catch (Exception fe) {
                    log.error("Error running service work: ", fe);
                    throw new ServiceExecutionFailedException(fe);
                }
                if (isSendToEndUsers()) {
                    sendEmails(userEmailQueue, ejbs);
                }
                if (isSendToAdmins()) {
View Full Code Here

        EmailCertData next = iter.next();               
        getAction().performAction(next.getActionInfo(), ejbs);
        updateStatus(next.getFingerPrint(), SecConst.CERT_NOTIFIEDABOUTEXPIRATION );
      } catch (Exception fe) {
        log.error("Error sending emails: ", fe);
        throw new ServiceExecutionFailedException(fe);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.ejbca.core.model.services.ServiceExecutionFailedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.