Class UnreadableServiceRequestException
- 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.UnreadableServiceRequestException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnreadableServiceRequestException extends AbstractServiceErrorException
Exception thrown when the 3rd party service returns a not expected response format (xml parsing issues, or not expected values) or when there is some IO issue.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnreadableServiceRequestException(ServiceExceptionDetail errorCode)
Instantiates a newUnreadableServiceRequestException
.UnreadableServiceRequestException(ServiceExceptionDetail errorCode, java.lang.Exception e)
Instantiates a newUnreadableServiceRequestException
.UnreadableServiceRequestException(java.lang.String errorMsg)
Instantiates a new cis service exception with anUnreadableServiceRequestException
.UnreadableServiceRequestException(java.lang.Throwable throwable)
Instantiates a newUnreadableServiceRequestException
.UnreadableServiceRequestException(java.util.List<ServiceExceptionDetail> errorCodes)
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
-
UnreadableServiceRequestException
public UnreadableServiceRequestException(java.lang.String errorMsg)
Instantiates a new cis service exception with anUnreadableServiceRequestException
.- Parameters:
errorMsg
- The error message
-
UnreadableServiceRequestException
public UnreadableServiceRequestException(java.lang.Throwable throwable)
Instantiates a newUnreadableServiceRequestException
.- Parameters:
throwable
- a throwable detailing the exception
-
UnreadableServiceRequestException
public UnreadableServiceRequestException(ServiceExceptionDetail errorCode)
Instantiates a newUnreadableServiceRequestException
.- Parameters:
errorCode
- an service exception detail with an specific error code
-
UnreadableServiceRequestException
public UnreadableServiceRequestException(ServiceExceptionDetail errorCode, java.lang.Exception e)
Instantiates a newUnreadableServiceRequestException
.- Parameters:
errorCode
- an service exception detail with an specific error codee
- an exception to pass in
-
UnreadableServiceRequestException
public UnreadableServiceRequestException(java.util.List<ServiceExceptionDetail> errorCodes)
Instantiates a new cis service exception.- Parameters:
errorCodes
- One or more error codes
-
-