Class ServiceNotAuthorizedException
- 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
-
- com.hybris.cis.client.shared.exception.ServiceNotAuthorizedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceNotAuthorizedException extends AbstractCisClientException
Indicates that the user is not authorized to access the service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceNotAuthorizedException(java.lang.String serviceId)Instantiates a new ServiceNotAuthorizedException.ServiceNotAuthorizedException(java.lang.String serviceId, java.lang.Throwable cause)Instantiates a new ServiceNotAuthorizedException.ServiceNotAuthorizedException(java.util.List<ServiceExceptionDetail> serviceExceptionDetails)Instantiates a new ServiceNotAuthorizedException.
-
Method Summary
-
Methods inherited from class com.hybris.cis.client.shared.exception.AbstractCisServiceException
getErrorCodes, getServiceId, getVendorId, setService
-
-
-
-
Constructor Detail
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException(java.util.List<ServiceExceptionDetail> serviceExceptionDetails)
Instantiates a new ServiceNotAuthorizedException.- Parameters:
serviceExceptionDetails- a list of exception details explaining this exception
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException(java.lang.String serviceId)
Instantiates a new ServiceNotAuthorizedException.- Parameters:
serviceId- a service id which is not allowed to be called
-
ServiceNotAuthorizedException
public ServiceNotAuthorizedException(java.lang.String serviceId, java.lang.Throwable cause)Instantiates a new ServiceNotAuthorizedException.- Parameters:
serviceId- a service Id which is not allowed to be calledcause- a throwable with a cause for the exception
-
-