com.sap.security.api
Class PrincipalNotAccessibleException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.sap.security.api.UMRuntimeException
                          |
                          +--com.sap.security.api.PrincipalNotAccessibleException
All Implemented Interfaces:
java.io.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

Constructor Summary
PrincipalNotAccessibleException()
           
PrincipalNotAccessibleException(java.lang.String message)
           
PrincipalNotAccessibleException(java.lang.Throwable nestedException)
           
PrincipalNotAccessibleException(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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrincipalNotAccessibleException

public PrincipalNotAccessibleException()

PrincipalNotAccessibleException

public PrincipalNotAccessibleException(java.lang.String message)

PrincipalNotAccessibleException

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

PrincipalNotAccessibleException

public PrincipalNotAccessibleException(java.lang.Throwable nestedException)


Copyright © 2002 SAP AG All Rights Reserved.