Package com.sas.lsaf.security.group
Class GroupExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.security.group.GroupException
com.sas.lsaf.security.group.GroupExistsException
- All Implemented Interfaces:
Serializable
Thrown when an attempt is made to create a group that exists with the same name in the same context.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGroupExistsException(String contextId, String name, String message) Constructs aGroupExistsExceptionwith the specified context identifier, name and detail message. -
Method Summary
Modifier and TypeMethodDescriptionGets the context identifier of the group.getName()Gets the name of the group.Methods inherited from class com.sas.lsaf.core.AbstractCheckedException
getMessage, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GroupExistsException
Constructs aGroupExistsExceptionwith the specified context identifier, name and detail message.- Parameters:
contextId- the context identifier of the group.name- the name of the group.message- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).
-
-
Method Details
-
getContextId
Gets the context identifier of the group.- Returns:
- The context identifier of the group.
-
getName
Gets the name of the group.- Returns:
- The name of the group.
-