Class ServiceErrorResponseException
- 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.AbstractServiceErrorException
-
- com.hybris.cis.client.shared.exception.ServiceErrorResponseException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceErrorResponseException extends AbstractServiceErrorException
Exception thrown when the 3rd party returns an error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceErrorResponseException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.ServiceErrorResponseException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.ServiceErrorResponseException(java.lang.String errorMsg)
Instantiates a new cis service exception with anUnknownServiceExceptionDetail
.ServiceErrorResponseException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.ServiceErrorResponseException(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
-
ServiceErrorResponseException
public ServiceErrorResponseException(java.lang.String errorMsg)
Instantiates a new cis service exception with anUnknownServiceExceptionDetail
.- Parameters:
errorMsg
- The error message
-
ServiceErrorResponseException
public ServiceErrorResponseException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.- Parameters:
errorCode
- An error code
-
ServiceErrorResponseException
public ServiceErrorResponseException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.- Parameters:
errorCode
- an error codecause
- the root cause
-
ServiceErrorResponseException
public ServiceErrorResponseException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.- Parameters:
errorCodes
- One or more error codes
-
ServiceErrorResponseException
public ServiceErrorResponseException(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
-
-