Class AbstractCisServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hybris.cis.client.shared.exception.AbstractCisServiceException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbstractCisClientException,AbstractServiceErrorException,NoConfigurationFoundException,NoSuchServiceException
public abstract class AbstractCisServiceException extends java.lang.RuntimeExceptionSuper class for all service related exceptions.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description AbstractCisServiceException(ServiceExceptionDetail errorCode)Instantiates a new cis service exception.AbstractCisServiceException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)Instantiates a new cis service exception.AbstractCisServiceException(java.util.List<ServiceExceptionDetail> errorCodes)Instantiates a new cis service exception.AbstractCisServiceException(java.util.List<ServiceExceptionDetail> errorCodes, java.lang.Throwable cause)Instantiates a new cis service exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ServiceExceptionDetail>getErrorCodes()java.lang.StringgetServiceId()java.lang.StringgetVendorId()voidsetService(com.hybris.cis.api.service.CisService service)
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractCisServiceException
public AbstractCisServiceException(ServiceExceptionDetail errorCode)
Instantiates a new cis service exception.- Parameters:
errorCode- An error code
-
AbstractCisServiceException
public AbstractCisServiceException(ServiceExceptionDetail errorCode, java.lang.Throwable cause)
Instantiates a new cis service exception.- Parameters:
errorCode- an error codecause- the root cause
-
AbstractCisServiceException
public AbstractCisServiceException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.- Parameters:
errorCodes- One or more error codes
-
AbstractCisServiceException
public AbstractCisServiceException(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
-
-
Method Detail
-
setService
public void setService(com.hybris.cis.api.service.CisService service)
-
getVendorId
public java.lang.String getVendorId()
-
getServiceId
public java.lang.String getServiceId()
-
getErrorCodes
public java.util.List<ServiceExceptionDetail> getErrorCodes()
-
-