Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 called
        cause - a throwable with a cause for the exception