Class NotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hybris.cis.client.shared.exception.AbstractCisServiceException
-
- com.hybris.cis.client.shared.exception.AbstractCisClientException
-
- com.hybris.cis.client.shared.exception.NotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class NotFoundException extends AbstractCisClientException
A generic exception if a resource wasn't found (will be translated to a 404).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotFoundException(java.lang.String resourceId)Instantiates a new cis service exception.NotFoundException(java.lang.String shortDescription, java.lang.String reasonCode)New exception based on error code and reason codeNotFoundException(java.lang.String id, java.lang.String sourceSimpleClassName, java.lang.String requestId, java.lang.String reasonCode)New exception based on properties from an external exception or messageNotFoundException(java.lang.String resourceId, java.lang.Throwable cause)Instantiates a new cis service exception.NotFoundException(java.util.List<ServiceExceptionDetail> serviceExceptionDetails)
-
Method Summary
-
Methods inherited from class com.hybris.cis.client.shared.exception.AbstractCisServiceException
getErrorCodes, getServiceId, getVendorId, setService
-
-
-
-
Constructor Detail
-
NotFoundException
public NotFoundException(java.util.List<ServiceExceptionDetail> serviceExceptionDetails)
-
NotFoundException
public NotFoundException(java.lang.String resourceId)
Instantiates a new cis service exception.- Parameters:
resourceId- The id of the resource which couldn't be found.
-
NotFoundException
public NotFoundException(java.lang.String resourceId, java.lang.Throwable cause)Instantiates a new cis service exception.- Parameters:
resourceId- The id of the resource which couldn't be found.cause- The root cause
-
NotFoundException
public NotFoundException(java.lang.String shortDescription, java.lang.String reasonCode)New exception based on error code and reason code- Parameters:
shortDescription-reasonCode-
-
NotFoundException
public NotFoundException(java.lang.String id, java.lang.String sourceSimpleClassName, java.lang.String requestId, java.lang.String reasonCode)New exception based on properties from an external exception or message- Parameters:
id- short descriptionsourceSimpleClassName- name of the original message or exceptionrequestId- request ID associated with the errorreasonCode- reason code associated with the error
-
-