UserNotActivatedException.java 512B

1234567891011121314151617181920
  1. package rocks.zipcode.io.security;
  2. import org.springframework.security.core.AuthenticationException;
  3. /**
  4. * This exception is thrown in case of a not activated user trying to authenticate.
  5. */
  6. public class UserNotActivatedException extends AuthenticationException {
  7. private static final long serialVersionUID = 1L;
  8. public UserNotActivatedException(String message) {
  9. super(message);
  10. }
  11. public UserNotActivatedException(String message, Throwable t) {
  12. super(message, t);
  13. }
  14. }