Class PrincipalAlreadyExistsException

All Implemented Interfaces:
Serializable

public class PrincipalAlreadyExistsException extends InvalidArgumentException
Thrown when an attempt has been made to name a principal with a name that already exists on another principal in the same domain in the user directory.
Since:
10.1
See Also:
  • Method Details

    • getName

      public String getName()
      Returns the name of the already existing principal.
      Returns:
      the name of the already existing principal
    • getDomainName

      public String getDomainName()
      Returns the domain name of the already existing principal.
      Returns:
      the domain name of the already existing principal