Package eu.scape_project.pw.idp.excpetions

Examples of eu.scape_project.pw.idp.excpetions.CannotSendMailException


            Transport.send(message);
            log.debug("Activation mail sent successfully to {}", user.getEmail());
        } catch (Exception e) {
            log.error("Error at sending activation mail to {}", user.getEmail());
            throw new CannotSendMailException("Error at sending activation mail to " + user.getEmail(), e);
        }
    }
View Full Code Here


            Transport.send(message);
            log.debug("Sent password reset mail to " + user.getEmail());

        } catch (Exception e) {
            log.error("Error at sending password reset mail to {}", user.getEmail());
            throw new CannotSendMailException("Error at sending password reset mail to " + user.getEmail());
        }
    }
View Full Code Here

TOP

Related Classes of eu.scape_project.pw.idp.excpetions.CannotSendMailException

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.