Package com.atlassian.crowd.exception
Class MembershipNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.crowd.exception.CrowdException
com.atlassian.crowd.exception.ObjectNotFoundException
com.atlassian.crowd.exception.MembershipNotFoundException
- All Implemented Interfaces:
Serializable
Used to denote that a particular USER-GROUP or GROUP-GROUP membership
does not exist.
This could be thrown in cases where the calling code attempts to remove
a user from a group when the user is not a direct member of the group, etc.
- See Also:
-
Constructor Summary
ConstructorDescriptionMembershipNotFoundException
(String childName, String parentName) MembershipNotFoundException
(String childName, String parentName, Throwable e) -
Method Summary
Modifier and TypeMethodDescriptionReturns name of the child.Returns names of the parent.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MembershipNotFoundException
-
MembershipNotFoundException
-
-
Method Details
-
getChildName
Returns name of the child.- Returns:
- name of the child
-
getParentName
Returns names of the parent.- Returns:
- name of the parent
-