Package org.opends.server.types
Class MembershipException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opends.server.types.OpenDsException
-
- org.opends.server.types.IdentifiedException
-
- org.opends.server.types.MembershipException
-
- All Implemented Interfaces:
Serializable,org.forgerock.i18n.LocalizableException
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class MembershipException extends IdentifiedException
This class defines an exception that may be thrown if a problem occurs while attempting to iterate across the members of a group.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MembershipException(org.forgerock.i18n.LocalizableMessage errorMessage, boolean continueIterating)Creates a new membership exception with the provided information.MembershipException(org.forgerock.i18n.LocalizableMessage errorMessage, boolean continueIterating, Throwable cause)Creates a new membership exception with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontinueIterating()Indicates whether it is possible to continue iterating through the list of group members.org.forgerock.i18n.LocalizableMessagegetErrorMessage()Retrieves the error message for this membership exception.-
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MembershipException
public MembershipException(org.forgerock.i18n.LocalizableMessage errorMessage, boolean continueIterating)Creates a new membership exception with the provided information.- Parameters:
errorMessage- The error message for this membership exception.continueIterating- Indicates whether it is possible to continue iterating through the list of group members.
-
MembershipException
public MembershipException(org.forgerock.i18n.LocalizableMessage errorMessage, boolean continueIterating, Throwable cause)Creates a new membership exception with the provided information.- Parameters:
errorMessage- The error message for this membership exception.continueIterating- Indicates whether it is possible to continue iterating through the list of group members.cause- The underlying cause for this membership exception.
-
-
Method Detail
-
getErrorMessage
public org.forgerock.i18n.LocalizableMessage getErrorMessage()
Retrieves the error message for this membership exception.- Returns:
- The error message for this membership exception.
-
continueIterating
public boolean continueIterating()
Indicates whether it is possible to continue iterating through the list of group members.- Returns:
trueif it is possible to continue iterating through the list of group members, orfalseif not.
-
-