Class AbstractServiceErrorException
- 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
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ServiceErrorResponseException,ServiceNotAvailableException,ServiceTimeoutException,UnreadableServiceRequestException,UnreadableServiceResponseException
public abstract class AbstractServiceErrorException extends AbstractCisServiceException
Indicates that the external service responded with an invalid or unexpected result.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractServiceErrorException(ServiceExceptionDetail errorCode)Instantiates a new cis service exception.AbstractServiceErrorException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)Instantiates a new cis service exception.AbstractServiceErrorException(java.lang.String errorMsg)Instantiates a new cis service exception with anUnknownServiceExceptionDetail.AbstractServiceErrorException(java.util.List<ServiceExceptionDetail> errorCodes)Instantiates a new cis service exception.AbstractServiceErrorException(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
-
AbstractServiceErrorException
public AbstractServiceErrorException(java.lang.String errorMsg)
Instantiates a new cis service exception with anUnknownServiceExceptionDetail.- Parameters:
errorMsg- The error message
-
AbstractServiceErrorException
public AbstractServiceErrorException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.- Parameters:
errorCode- An error code
-
AbstractServiceErrorException
public AbstractServiceErrorException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.- Parameters:
errorCode- an error codecause- the root cause
-
AbstractServiceErrorException
public AbstractServiceErrorException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.- Parameters:
errorCodes- One or more error codes
-
AbstractServiceErrorException
public AbstractServiceErrorException(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
-
-