org.xwiki.security.authorization
Class EntityTypeNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xwiki.security.authorization.AuthorizationException
              extended by org.xwiki.security.authorization.EntityTypeNotSupportedException
All Implemented Interfaces:
Serializable

public class EntityTypeNotSupportedException
extends AuthorizationException

Thrown when attempting to load a right for an unsupported entity type.

Since:
4.0M2
See Also:
Serialized Form

Constructor Summary
EntityTypeNotSupportedException(EntityType entityType, SecurityEntryReader reader)
           
 
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

EntityTypeNotSupportedException

public EntityTypeNotSupportedException(EntityType entityType,
                                       SecurityEntryReader reader)
Parameters:
entityType - Type of the unsupported entity.
reader - The loader that does not support the entity type.