com.sap.security.api
Class NoAccessPermissionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.sap.security.api.UMRuntimeException
                          |
                          +--com.sap.security.api.PrincipalNotAccessibleException
                                |
                                +--com.sap.security.api.NoAccessPermissionException
All Implemented Interfaces:
java.io.Serializable

public class NoAccessPermissionException
extends PrincipalNotAccessibleException

This exception is used, if the access to a already populated principal fails because missing permission. Example: You got a role object from the RoleFactory where you do not have correct permissions for.

See Also:
Serialized Form

Field Summary
static java.lang.String NO_ACCESS_PERMISSION_EXCEPTION_MESSAGE
           
 
Fields inherited from class com.sap.security.api.PrincipalNotAccessibleException
NO_PERMISSION_FOR_ROLE_ASSIGNMENT_MESSAGE
 
Constructor Summary
NoAccessPermissionException()
           
NoAccessPermissionException(java.lang.String message)
           
NoAccessPermissionException(java.lang.Throwable nestedException)
           
NoAccessPermissionException(java.lang.Throwable nestedException, java.lang.String message)
           
 
Methods inherited from class com.sap.security.api.UMRuntimeException
getNestedException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_ACCESS_PERMISSION_EXCEPTION_MESSAGE

public static final java.lang.String NO_ACCESS_PERMISSION_EXCEPTION_MESSAGE
Constructor Detail

NoAccessPermissionException

public NoAccessPermissionException()

NoAccessPermissionException

public NoAccessPermissionException(java.lang.String message)

NoAccessPermissionException

public NoAccessPermissionException(java.lang.Throwable nestedException,
                                   java.lang.String message)

NoAccessPermissionException

public NoAccessPermissionException(java.lang.Throwable nestedException)