com.atlassian.confluence.core.service
Class NotAuthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by com.atlassian.confluence.core.service.NotAuthorizedException
All Implemented Interfaces:
java.io.Serializable

public class NotAuthorizedException
extends java.lang.IllegalStateException

Exception thrown from a service action when the execute() method is called in the context of a user who is not authorized to perform the action.

See Also:
Serialized Form

Constructor Summary
NotAuthorizedException(java.lang.String username)
           
NotAuthorizedException(com.atlassian.user.User user, Permission permission, java.lang.Object target)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

NotAuthorizedException

public NotAuthorizedException(java.lang.String username)

NotAuthorizedException

public NotAuthorizedException(com.atlassian.user.User user,
                              Permission permission,
                              java.lang.Object target)


Copyright © 2003-2014 Atlassian. All Rights Reserved.