List of usage examples for javax.mail.internet AddressException AddressException
public AddressException()
From source file:com.liferay.petra.mail.InternetAddressUtil.java
public static void validateAddresses(Address[] addresses) throws AddressException { if (addresses == null) { throw new AddressException(); }//ww w. j a v a 2 s .c om for (Address internetAddress : addresses) { validateAddress(internetAddress); } }