Most methods implemented by the secured repository can throw any exception that is a sub-class of Each method that can throw a SecurityException is marked appropriately in one of the following interfaces:

Methods that are inherited from the normal Repository interfaces and are marked as capable of throwing an atg.repository.RepositoryException instead throw an atg.repository.RepositorySecurityException. You can use the method RepositorySecurityException.getSecurityException() to determine the nested exception.

Two methods do not throw a RepositoryException:

It is necessary, however, for them to throw a SecurityException, so they throw an You can use the method RuntimeSecurityException.getSecurityException()to determine the nested exception.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices