package com.maven.acount.email.dao; public interface AcountEmailService { void sendMail(String to,String subject,String htmlText) throws AccountEmailException; }
收起
void sendMail(String to,String subject,String htmlText) throws Exception
你写的异常不存在 你可以创建该类,或在存在的类中抛异常,异常信息写AccountEmailException这些字符串信息
报告相同问题?