SAP NetWeaver 7.1 Composition Environment

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

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, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, 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)

SAP NetWeaver 7.1 Composition Environment

Copyright © 2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.