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 Summary
ConstructorDescriptionResourceRestrictedException
(String resourceName_, String username_) ResourceRestrictedException
(String resourceName_, String username_, String message_) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the resource that is restricted.Returns the username of the user who attempted to access the resource.Methods inherited from class com.appian.komodo.api.exceptions.KougarException
getCustomMessage, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceRestrictedException
-
ResourceRestrictedException
-
-
Method Details
-
getResourceName
Returns the name of the resource that is restricted. -
getUsername
Returns the username of the user who attempted to access the resource.
-