Class ResourceRestrictedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.appian.komodo.api.exceptions.KougarException
com.appiancorp.services.exceptions.ResourceRestrictedException
All Implemented Interfaces:
Serializable

public class ResourceRestrictedException extends com.appian.komodo.api.exceptions.KougarException
This exception is thrown when a user attempts to access a resource (for example, a service API) which is restricted, and the user does not have sufficient privileges for access (usually determined by group membership).
See Also:
  • Constructor Details

    • ResourceRestrictedException

      public ResourceRestrictedException(String resourceName_, String username_)
    • ResourceRestrictedException

      public ResourceRestrictedException(String resourceName_, String username_, String message_)
  • Method Details

    • getResourceName

      public String getResourceName()
      Returns the name of the resource that is restricted.
    • getUsername

      public String getUsername()
      Returns the username of the user who attempted to access the resource.