com.atlassian.plugin
Class ModulePermissionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.atlassian.plugin.PluginException
                  extended by com.atlassian.plugin.ModulePermissionException
All Implemented Interfaces:
Serializable

public final class ModulePermissionException
extends PluginException

This exception is thrown by module descriptors when a set of their required permissions is not met by the plugin declaring them.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
ModulePermissionException(String moduleKey, Set<String> permissions)
           
 
Method Summary
 String getModuleKey()
           
 Set<String> getPermissions()
           
 
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

ModulePermissionException

public ModulePermissionException(String moduleKey,
                                 Set<String> permissions)
Method Detail

getModuleKey

public String getModuleKey()

getPermissions

public Set<String> getPermissions()


Copyright © 2014 Atlassian. All rights reserved.