Class InvalidPrimaryGroupException

All Implemented Interfaces:
Serializable

@Deprecated public class InvalidPrimaryGroupException extends UserDirectoryException
Deprecated.
This exception is no longer thrown.
This exception is thrown when an attempt is made to set a primary group for a principal and the principal is not a member of the specified primary group.
Since:
3.0
See Also:
  • Constructor Details

    • InvalidPrimaryGroupException

      @Deprecated public InvalidPrimaryGroupException(String message, SpotfirePrincipal principal, GroupPrincipal primaryGroup)
      Deprecated.
      This class should not be instantiated by users of the API.
      Creates a new InvalidPrimaryGroupException instance with the specified detail message.
      Parameters:
      message - the detail message
      principal - the principal whose primary group was attempted to set
      primaryGroup - the invalid primary group
  • Method Details

    • getPrincipal

      public SpotfirePrincipal getPrincipal()
      Deprecated.
      Returns the principal whose primary group was attempted to set.
      Returns:
      the principal whose primary group was attempted to set
      Since:
      3.0
    • getPrimaryGroup

      public GroupPrincipal getPrimaryGroup()
      Deprecated.
      Returns the invalid primary group.
      Returns:
      the invalid primary group
      Since:
      3.0