Class ConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.kii.cloud.storage.exception.CloudExecutionException
-
- com.kii.cloud.storage.exception.app.AppException
-
- com.kii.cloud.storage.exception.app.ConflictException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConflictException extends AppException
Thrown when the required operation failed due to conflict.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConflictException.Reason
Reason of failure.
-
Constructor Summary
Constructors Constructor Description ConflictException(java.lang.String message, java.lang.Throwable cause, ConflictException.Reason reason, java.lang.String httpBody)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConflictException.Reason
getReason()
Get detailed reason of failure.-
Methods inherited from class com.kii.cloud.storage.exception.CloudExecutionException
getBody, getError, getErrorCode, getErrorDetails, getException, getMessage, getStatus
-
-
-
-
Constructor Detail
-
ConflictException
public ConflictException(@Nullable java.lang.String message, @Nullable java.lang.Throwable cause, @NonNull ConflictException.Reason reason, @Nullable java.lang.String httpBody)
-
-
Method Detail
-
getReason
@NonNull public ConflictException.Reason getReason()
Get detailed reason of failure.- Returns:
- reason of failure
-
-