1 package com.sslexplorer.security; 2 3 import java.util.Date ; 4 5 10 public final class PasswordChangeTooSoonException extends UserDatabaseException { 11 private final Date requiredDate; 12 13 16 public PasswordChangeTooSoonException(Date requiredDate) { 17 super("Failed to change password, the minimum change date is in the future"); 18 this.requiredDate = requiredDate; 19 } 20 21 24 public Date getRequiredDate() { 25 return requiredDate; 26 } 27 } 28 | Popular Tags |