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:
- java.io.Serializable
public class MembershipNotFoundException
- extends ObjectNotFoundException
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:
- Serialized Form
|
Method Summary |
java.lang.String |
getChildName()
Returns name of the child. |
java.lang.String |
getParentName()
Returns names of the parent. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MembershipNotFoundException
public MembershipNotFoundException(java.lang.String childName,
java.lang.String parentName)
MembershipNotFoundException
public MembershipNotFoundException(java.lang.String childName,
java.lang.String parentName,
java.lang.Throwable e)
getChildName
public java.lang.String getChildName()
- Returns name of the child.
- Returns:
- name of the child
getParentName
public java.lang.String getParentName()
- Returns names of the parent.
- Returns:
- name of the parent
Copyright © 2013 Atlassian. All Rights Reserved.