Class NotAuthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- com.atlassian.confluence.core.service.NotAuthorizedException
-
- All Implemented Interfaces:
Serializable
public class NotAuthorizedException extends IllegalStateException
Exception thrown from a service action when theexecute()
method is called in the context of a user who is not authorized to perform the action.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotAuthorizedException(com.atlassian.user.User user, Permission permission, Object target)
NotAuthorizedException(String username)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotAuthorizedException
public NotAuthorizedException(String username)
-
NotAuthorizedException
public NotAuthorizedException(com.atlassian.user.User user, Permission permission, Object target)
-
-