Class ResourceDisabledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.appian.komodo.api.exceptions.KougarException
com.appiancorp.services.exceptions.ResourceDisabledException
- All Implemented Interfaces:
Serializable
public class ResourceDisabledException
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 disabled (ie, turned off).
- See Also:
-
Constructor Summary
ConstructorDescriptionResourceDisabledException
(String resourceName_, String username_) ResourceDisabledException
(String resourceName_, String username_, String message_) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the resource that is disabled.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
-
ResourceDisabledException
-
ResourceDisabledException
-
-
Method Details
-
getResourceName
Returns the name of the resource that is disabled. -
getUsername
Returns the username of the user who attempted to access the resource.
-