Class AbstractCisClientException
- 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
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InternalServerErrorException
,NotFoundException
,ServiceConfigurationException
,ServiceInvalidException
,ServiceNotAuthorizedException
,ServiceNotImplementedException
,ServicePreconditionFailedException
,ServiceRequestException
,UnknownClientErrorException
public abstract class AbstractCisClientException extends AbstractCisServiceException
Expected exceptional cases due to invalid requests from a client (e.g. not authorized).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractCisClientException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.AbstractCisClientException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.AbstractCisClientException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.AbstractCisClientException(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
-
AbstractCisClientException
public AbstractCisClientException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.- Parameters:
errorCode
- An error code
-
AbstractCisClientException
public AbstractCisClientException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.- Parameters:
errorCode
- an error codecause
- the root cause
-
AbstractCisClientException
public AbstractCisClientException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.- Parameters:
errorCodes
- One or more error codes
-
AbstractCisClientException
public AbstractCisClientException(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
-
-