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:
Serializable

public class NotAuthorizedException
extends 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(String username)
           
NotAuthorizedException(com.atlassian.user.User user, Permission permission, 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(String username)

NotAuthorizedException

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.