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

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

import javax.ejb.ApplicationException;

@ApplicationException(rollback = true)
public final class NonUniqueRolleUKException extends ElectCommonException {

  private static final long serialVersionUID = 1L;

  private final RolleUK uk;

  public NonUniqueRolleUKException(RolleUK uk) {
    super("non.unique.rolle.uk.exception", uk);

    this.uk = uk;
  }

  public RolleUK getRolleUK() {
    return uk;
  }
}
