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.RuntimeException
Super class for all service related exceptions.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
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.String
getServiceId()
java.lang.String
getVendorId()
void
setService(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()
-
-