package de.ivu.elect.business.benutzerverwaltung.control;

import de.ivu.elect.jee.exception.ElectCommonException;

public class LogoutException extends ElectCommonException {
  private static final long serialVersionUID = 1L;

  public LogoutException(String messageKey) {
    super(ElectCommonException.RedirectDestination.LOGIN_VIEW, LogLevel.MESSAGE_ONLY, messageKey);
  }

  @Override
  public boolean isSecurityException() {
    return true;
  }
}
