atg.security
Class TooManyAccountsException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           atg.core.exception.ContainerException
atg.core.exception.ContainerException
               atg.security.SecurityException
atg.security.SecurityException
                   atg.security.TooManyAccountsException
atg.security.TooManyAccountsException
- All Implemented Interfaces: 
- ContainableException, java.io.Serializable
- public class TooManyAccountsException 
- extends SecurityException
Exception thrown when an attempt is made to list more accounts than the account manager
 is willing to provide.
- See Also:
- Serialized Form
 
| Constructor Summary | 
| TooManyAccountsException()Creates an exception indicating that too many accounts were requested.
 | 
| TooManyAccountsException(int pAllowed,
                         int pRequested)Creates an exception indicating that too many accounts were requested, including the number of
 accounts which would have been returned had the query succeeded and how many the server
 would let us have.
 | 
 
| Method Summary | 
|  int | getAllowedCount()Returns the number of accounts that the account manager would have allowed, or zero if
 it is unspecified.
 | 
|  int | getRequestCount()Returns the number of accounts that the request would have returned, or zero if it is
 unknown or unspecified.
 | 
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
TooManyAccountsException
public TooManyAccountsException()
- Creates an exception indicating that too many accounts were requested.
 
TooManyAccountsException
public TooManyAccountsException(int pAllowed,
                                int pRequested)
- Creates an exception indicating that too many accounts were requested, including the number of
 accounts which would have been returned had the query succeeded and how many the server
 would let us have.
 
- Parameters:
- pAllowed- The number of accounts that the server would allow, or zero if this is not
                 specified.
- pRequested- The number of accounts that the request would have returned, or zero if
                   this is unknown or unspecified.
 
getAllowedCount
public int getAllowedCount()
- Returns the number of accounts that the account manager would have allowed, or zero if
 it is unspecified.
 
- 
 
getRequestCount
public int getRequestCount()
- Returns the number of accounts that the request would have returned, or zero if it is
 unknown or unspecified.
 
-