com.sap.security.api

Class PrincipalNotAccessibleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sap.security.api.UMRuntimeException
                  extended by com.sap.security.api.PrincipalNotAccessibleException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoAccessPermissionException

public class PrincipalNotAccessibleException
extends UMRuntimeException

This exception is used, if the access to a already populated principal fails. Example: You got a role object from the RoleFactory which doesn't have all available attributes populated. If you access one of the not populated attributes, the role tries to read it from the role's persistence adapter (lazy fetch). If the role object on the persistence is not accessible for any reason (e.g. deleted in the meanwhile or backend down), a PrincipalNotAccessibleException exception will be thrown.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sap.security.api.UMRuntimeException
mMessageBuffer
 
Constructor Summary
PrincipalNotAccessibleException()
           
PrincipalNotAccessibleException(String message)
           
PrincipalNotAccessibleException(Throwable nestedException)
           
PrincipalNotAccessibleException(Throwable nestedException, String message)
           
 
Method Summary
 
Methods inherited from class com.sap.security.api.UMRuntimeException
addMessage, getMessages, getNestedException
 
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

PrincipalNotAccessibleException

public PrincipalNotAccessibleException()

PrincipalNotAccessibleException

public PrincipalNotAccessibleException(String message)

PrincipalNotAccessibleException

public PrincipalNotAccessibleException(Throwable nestedException,
                                       String message)

PrincipalNotAccessibleException

public PrincipalNotAccessibleException(Throwable nestedException)
Access Rights

This class can be accessed from:


SC DC
[sap.com] ENGINEAPI [sap.com] com.sap.security.api.sda
[sap.com] ENGFACADE [sap.com] tc/je/usermanagement/api
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.lib


Copyright 2010 SAP AG Complete Copyright Notice