Package com.spotfire.server.userdir
Class InvalidPrimaryGroupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.spotfire.server.userdir.UserDirectoryException
com.spotfire.server.userdir.InvalidPrimaryGroupException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionInvalidPrimaryGroupException
(String message, SpotfirePrincipal principal, GroupPrincipal primaryGroup) Deprecated.This class should not be instantiated by users of the API. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the invalid primary group.Deprecated.Returns the principal whose primary group was attempted to set.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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 newInvalidPrimaryGroupException
instance with the specified detail message.- Parameters:
message
- the detail messageprincipal
- the principal whose primary group was attempted to setprimaryGroup
- the invalid primary group
-
-
Method Details
-
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
Deprecated.Returns the invalid primary group.- Returns:
- the invalid primary group
- Since:
- 3.0
-