Package com.kii.cloud.storage.exception
Class GroupOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.kii.cloud.storage.exception.GroupOperationException
-
- All Implemented Interfaces:
java.io.Serializable
public class GroupOperationException extends java.lang.Exception
Thrown when exception occurs on operation of KiiGroup.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<KiiUser>
mAddFailUsers
protected java.util.List<KiiUser>
mRemoveFailUsers
-
Constructor Summary
Constructors Constructor Description GroupOperationException(java.lang.String message, java.lang.Exception exception, java.util.List<KiiUser> addFailUsers, java.util.List<KiiUser> removeFailUsers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Returns instance of:BadRequestException
ConflictException
ForbiddenException
NotFoundException
UnauthorizedException
UndefinedException
IOException.java.util.List<KiiUser>
getUsersFailedAdd()
Returns the KiiUser list which contains the users that are failed to add when executesave()
.java.util.List<KiiUser>
getUsersFailedRemove()
Returns the KiiUser list which contains the users that are failed to remove when executesave()
.
-
-
-
Method Detail
-
getUsersFailedAdd
@Nullable public java.util.List<KiiUser> getUsersFailedAdd()
Returns the KiiUser list which contains the users that are failed to add when executesave()
.- Returns:
- Add failed list or null if add is successful or no user is added.
-
getUsersFailedRemove
@Nullable public java.util.List<KiiUser> getUsersFailedRemove()
Returns the KiiUser list which contains the users that are failed to remove when executesave()
.- Returns:
- Remove failed list or null if remove is successful or no user is removed.
-
getCause
@NonNull public java.lang.Throwable getCause()
Returns instance of:BadRequestException
ConflictException
ForbiddenException
NotFoundException
UnauthorizedException
UndefinedException
- IOException.
- Overrides:
getCause
in classjava.lang.Throwable
-
-