Class ProductNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.kukenan.smartfi.common.service.exceptions.KukenanWalletException
es.kukenan.smartfi.common.service.exceptions.EntityNotFoundException
es.kukenan.smartfi.microservice.contracts.service.exceptions.ProductNotFoundException
- All Implemented Interfaces:
Serializable
public final class ProductNotFoundException
extends es.kukenan.smartfi.common.service.exceptions.EntityNotFoundException
Exception caused by a specified product was not found or is not visible in the operation context (access level...).
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProductNotFoundException(String code, String message, Throwable cause, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Constructor.ProductNotFoundException(String message, Throwable cause, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Constructor. -
Method Summary
Methods inherited from class es.kukenan.smartfi.common.service.exceptions.KukenanWalletException
canEqual, equals, getAdditionalInfo, getCode, getDetails, getHttpStatus, hashCode, setAdditionalInfo, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
MSG_PRODUCT_NOT_FOUND
Message for product not found exception.- See Also:
-
-
Constructor Details
-
ProductNotFoundException
public ProductNotFoundException()Default constructor. -
ProductNotFoundException
public ProductNotFoundException(String message, Throwable cause, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Constructor.- Parameters:
message- Exception messagecause- Throwabledetails- Error details
-
ProductNotFoundException
public ProductNotFoundException(String code, String message, Throwable cause, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Constructor.- Parameters:
code- Code exception.message- Message exception.cause- Throwable cause exception.details- Details exception.
-