| Exception | Description |
|---|---|
| AccessDeniedException |
Exception thrown when a request is rejected because of a problem with the access token (not provided, expired or not found).
|
| AccessDeniedException.ExpiredAccessToken | |
| AccessDeniedException.MissingAccessToken | |
| AccessDeniedException.NoSuchAccessToken | |
| AccessTokenExistsException |
Thrown when a create access token operation fails because an access token with the same properties already exists.
|
| AttributeAlreadyDefinedException |
Thrown if an attribute has already been defined.
|
| AttributeNotDefinedException |
Thrown when an attribute definition is being updated or when an attribute value is being set but not attribute
definition was found.
|
| BadCredentialsException |
Thrown when a username/password pair is invalid.
|
| DisabledProfileException |
Thrown when an operation on a profile (like authentication) can't be performed because the profile is disabled.
|
| InvalidEmailAddressException |
Thrown when an email address is in an invalid format.
|
| InvalidQueryException |
Thrown when a specified Mongo query is invalid, because of illegal operators ($where) or non-readable attributes.
|
| NoSuchAccessTokenException |
Thrown when a specified access token ID doesn't correspond to any known access token.
|
| NoSuchPersistentLoginException |
Thrown if no persistent login with a specified ID was found.
|
| NoSuchProfileException |
Thrown if no profile with a specified ID was found.
|
| NoSuchProfileException.ById | |
| NoSuchProfileException.ByQuery | |
| NoSuchProfileException.ByTicket | |
| NoSuchProfileException.ByUsername | |
| NoSuchTenantException |
Thrown if no tenant with a specified name was found.
|
| NoSuchTicketException |
Thrown if no ticket with a specified ID was found.
|
| NoSuchTicketException.Expired | |
| NoSuchVerificationTokenException |
Thrown when a serialized verification token is in an invalid format.
|
| ParamDeserializationException |
Thrown the JSON in a param can't be correctly deserialized.
|
| ProfileExistsException |
Thrown when a create profile operation fails because a profile with the same tenant and username already exists.
|
| ProfileLockedException |
Throw when account had too much failed attempts.
|
| ProfileRestServiceException |
ProfileException used by clients to indicate a REST service error. |
| TenantExistsException |
Thrown when a create tenant operation fails because a tenant with the same name already exists.
|
Copyright © 2023 CrafterCMS. All rights reserved.