Smartswitch
|
This exception is thrown when there is no more attempts left to generate an unique alphanumeric User name. More...
defined in <DuplicateNameException.ice>
exception DuplicateNameException extends Smartswitch::GenericException { ... }
Data Members | |
int | attempts |
The count of attempts to generate a User name done. More... | |
Data Members inherited from Smartswitch::GenericException | |
string | description |
The error message which could be displayed to a user. More... | |
string | solution |
The possible way of working around the exception. More... | |
This exception is thrown when there is no more attempts left to generate an unique alphanumeric User name.
A user generation profile has been configured to generate a new User with unique alphanumeric name with random generation of a numeric part of the name.
To fulfill this, Smartswitch obtains the numeric part of the generated User name pattern.
Then Smartswitch generates a random number and puts it into numeric name part according to a pattern.
If Smartswitch generates duplicates during several consequent attempts, this exception is thrown.
int attempts |
The count of attempts to generate a User name done.