Copyright© 2008-2012 SiteVision AB, all rights reserved.



javax.jcr.security
Class PrincipalNotFoundException

Object
  extended by Throwable
      extended by Exception
          extended by javax.jcr.RepositoryException
              extended by javax.jcr.security.PrincipalNotFoundException
All Implemented Interfaces:
Serializable

public class PrincipalNotFoundException
extends RepositoryException

Exception thrown by AccessControlManager.addAccessControlEntry(String, java.security.Principal, Privilege[]).

Since:
JCR 2.0
See Also:
Serialized Form

Constructor Summary
PrincipalNotFoundException()
          Constructs a new instance of this class with null as its detail message.
PrincipalNotFoundException(String message)
          Constructs a new instance of this class with the specified detail message.
PrincipalNotFoundException(String message, Throwable rootCause)
          Constructs a new instance of this class with the specified detail message and root cause.
PrincipalNotFoundException(Throwable rootCause)
          Constructs a new instance of this class with the specified root cause.
 
Method Summary
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrincipalNotFoundException

public PrincipalNotFoundException()
Constructs a new instance of this class with null as its detail message.


PrincipalNotFoundException

public PrincipalNotFoundException(String message)
Constructs a new instance of this class with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

PrincipalNotFoundException

public PrincipalNotFoundException(String message,
                                  Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
rootCause - root failure cause

PrincipalNotFoundException

public PrincipalNotFoundException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause.

Parameters:
rootCause - root failure cause


SiteVision - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 168) that implements Java Content Repository (JSR 283).

Copyright© 2008-2012 SiteVision AB, all rights reserved.