Validates roleName and adds custom message to exception, if one is thrown.
Validated role name.
| Exception Type | Condition |
|---|---|
| InvalidRoleNameException | Thrown when invalid roleName is passed. |
IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace