Class ServicePreconditionFailedException
- 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.ServicePreconditionFailedException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidOrMissingFieldException
public class ServicePreconditionFailedException extends AbstractCisClientException
A precondition failed which prevented it from fulfilling the request. This client exception is thrown if this condition prevents us from calling the 3rd party service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServicePreconditionFailedException(ServiceExceptionDetail errorCode)Instantiates a new cis service exception.ServicePreconditionFailedException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)Instantiates a new cis service exception.ServicePreconditionFailedException(java.util.List<ServiceExceptionDetail> errorCodes)Instantiates a new cis service exception.ServicePreconditionFailedException(java.util.List<ServiceExceptionDetail> errorCodes, java.lang.Throwable cause)Instantiates a new cis service exception.
-
Method Summary
-
Methods inherited from class com.hybris.cis.client.shared.exception.AbstractCisServiceException
getErrorCodes, getServiceId, getVendorId, setService
-
-
-
-
Constructor Detail
-
ServicePreconditionFailedException
public ServicePreconditionFailedException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.- Parameters:
errorCode- An error code
-
ServicePreconditionFailedException
public ServicePreconditionFailedException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.- Parameters:
errorCode- an error codecause- the root cause
-
ServicePreconditionFailedException
public ServicePreconditionFailedException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.- Parameters:
errorCodes- One or more error codes
-
ServicePreconditionFailedException
public ServicePreconditionFailedException(java.util.List<ServiceExceptionDetail> errorCodes, java.lang.Throwable cause)
Instantiates a new cis service exception.- Parameters:
errorCodes- One or more error codescause- the root cause
-
-