com.atlassian.crucible.spi.services
Class NotPermittedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.crucible.spi.services.NotPermittedException
All Implemented Interfaces:
java.io.Serializable

public class NotPermittedException
extends java.lang.RuntimeException

Raised by the api methods when a user attempts to access a resource he/she has no access to according to the Crucible application-level entitlements (e.g. attempts to modify someone else's comments).

Author:
Erik van Zijst
See Also:
Serialized Form

Constructor Summary
NotPermittedException()
           
NotPermittedException(java.lang.String s)
           
NotPermittedException(java.lang.String s, java.lang.Throwable throwable)
           
NotPermittedException(java.lang.Throwable throwable)
           
 
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

NotPermittedException

public NotPermittedException()

NotPermittedException

public NotPermittedException(java.lang.String s)

NotPermittedException

public NotPermittedException(java.lang.String s,
                             java.lang.Throwable throwable)

NotPermittedException

public NotPermittedException(java.lang.Throwable throwable)