Class NotFoundException
- 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.NotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class NotFoundException extends AppException
Thrown when required operation has failed due to the related entity not found.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotFoundException.Reason
Represents failure reason
-
Constructor Summary
Constructors Constructor Description NotFoundException(java.lang.String message, java.lang.Throwable cause, NotFoundException.Reason reason, java.lang.String httpBody)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotFoundException.Reason
getReason()
-
Methods inherited from class com.kii.cloud.storage.exception.CloudExecutionException
getBody, getError, getErrorCode, getErrorDetails, getException, getMessage, getStatus
-
-
-
-
Constructor Detail
-
NotFoundException
public NotFoundException(@Nullable java.lang.String message, @Nullable java.lang.Throwable cause, @NonNull NotFoundException.Reason reason, @Nullable java.lang.String httpBody)
-
-
Method Detail
-
getReason
@NonNull public NotFoundException.Reason getReason()
-
-