Package cz.metacentrum.perun.core.api.exceptions
package cz.metacentrum.perun.core.api.exceptions
Exceptions.
There are two versions of each exception, one runtime and one checked.
The base exceptions are PerunRuntimeException
and
PerunException
.
-
ClassDescriptionThrown when trying to assign role to a user/group while the user/group already has the role.This exception is thrown when the user is already a member of the Vo/group.This exception is thrown when the user's login is already reserved and thus not uniqueMember is already flagged as sponsored and something is trying to set it again.This exception is thrown when the user is already a sponsor of the member.This exception is thrown when trying to get anonymized value of the attribute, whose module doesn't specify the anonymization process in method getAnonymizedValue().This exception is thrown when you try to assign attribute as required by the service but the attribute has already been assigned.Attribute is already marked as unique.Attribute already exists in underlying data source.This exception is used when trying to remove an attribute from the service that hasn't been assigned before.This exception is thrown when the attribute definition does not exist in the database.Attribute is not marked as unique.Something is wrong with attribute value.This exception is thrown when the ban on the facility/resource/vo already existsThis exception is thrown when the ban on the facility/resource does not existThis exception is thrown when the candidate does not exist in the ExtSource It is thrown when search for candidates in ExtSource returned a unique identifier, for which no additional data was found in the ExtSourceThis exception is thrown when trying to create a consent with the same data that is already in database.Thrown when trying to removed consent hub which is not in a database.Thrown when trying to create consent hub with name that already exists.Thrown when the Consent Hub has not been found in the databaseThrown when trying to retrieve a consent that doesn't exist from the databaseThis exception raises when some inconsistency in underlying data sources occurs.This exception is thrown when the deletion is not supported on any instance - the config property userDeletionForced is set to falseException is thrown when the destination has already been assigned to the facility and service.Exception is thrown when the destination has already been removed from the facility and service.Exception is thrown when the destination already existsException is thrown when the destination does not existThis exception raises when in the name of entity is any diacritic symbol.This exception is thrown when submitting embedded groups' applications failIt represents parent class for *AlreadyAssignedException classes.It represents parent class for *ExistsException classes.It represents parent class for *NotAssignedException classes.It represents parent class for *NotExistsException classes.Thrown when call to user info endpoint ends up with error HttpStatus.FORBIDDENThrown when the membership could not be extended.This exception raises when group is externally managed which means that group membership is managed by external source (group synchronization) and thus manual changes to the group membership are prohibited.This exception is thrown when the ExtSource is already associated with the Vo/group.This exception is thrown when the ExtSource has already been deleted or removed from the Vo/group.This exception is thrown when creating an ExtSource which already existsThis exception is thrown when the ExtSource has not been assigned to the vo or when trying to remove an association with the group/vo that it is not been assigned to.This exception is thrown if the ExtSource does not existThis exception is thrown when the operation is not supported for this kind of ExtSourceThis exception is thrown when facility is already assigned to a consent hub.This exception is thrown when facility can't be deleted, because it doesn't exist anymore.This exception is thrown when trying to create/update a facility with a name that is already usedException thrown when wrong facility provided.This exception is thrown when trying to get a facility that does not exist in the databaseThis exception is thrown when forcing service propagation is not possible.This exception is thrown when the form item does not exist in any application formThis exception is thrown when the group has already been assigned to the specific resourceThis exception is thrown when the group has already been removed from the databaseThis exception is thrown when trying to remove the group from the resource that has already been removedThis exception is thrown when trying to create a group whose vo_id, name and parent_group (if set) are identical to those of another groupException thrown when groups are not in the same VO, when required so.Exception thrown when relation of two groups as parent-sub should exist, but does not.Exception thrown when the group cannot be moved, because it's not allowed f.e.This exception is thrown when the group is not admin of: facility, another group, resource, ...This exception is thrown when group is not allowed to be added to auto registration.This exception is thrown when trying to remove the group from the resource with which the group is not associatedThis exception is thrown when group is not embedded in VOThis exception is thrown when trying to get a group which does not exist in the databaseThis exception is thrown when the relation between groups should not exist but it existsException thrown when group relation cannot be removed. f.e. when it's part of the hierarchical structure of the groupsException thrown when relation between groups should exist but it does notException thrown when the group relation cannot be created, because it's not allowed f.e. it would create cycle, one of the groups is members group...This exception is thrown when the group and resource are not in the same VOThis exception is thrown when it is not possible to perform an action on a group-resource assignment because of its status.This exception is thrown when the group structure synchronization is already running for given groupThis exception is thrown when the synchronization for the group is already runningThis exception is thrown when the synchronization for the group is not enabledThis exception is thrown when trying to remove a host from the facility but the host has already been removedThis exception is to be thrown if host already exists in cluster.This exception is to be thrown in case we are unable to look up the host computer in the Perun system.This exception is thrown when there is an illegal value in the argumentClass representing an exception caused by an unexpected error.Certificate is not valid - for a lots of different reasons (like unsupported subject, expired etc.)This exception is thrown when trying to set consent status on an invalid value.This exception is thrown when the login fails syntax check enforced by its namespaceThis exception is thrown when the login is already in use in the specific namespaceThrown when the given login is already blocked for the given namespace Thrown also if the given namespace is null and the given login is already blocked globallyThrown when the given login is not blocked for the given namespace Thrown also if the given namespace is null and the given login is not blocked globallyThis exception is thrown when the login wasn't found in the specific namespaceThis exception raises when some property of entity is too long.This exception is thrown when trying to remove a member who has already been removedThis exception is thrown when the member and group are not in the same VOOperation altering member's lifecycle is forbidden (e.g. cannot change expiration of hierarchical vo's members, if they come from member vos)This exception is thrown when the member doesn't exist or isn't a member of the specific VO or wasn't found using userExtSourceMember is not flagged as sponsored, but somebody tries to add a sponsor to it..Operation required suspended member, but this member is not suspended at all.Operation required complete member.This exception is thrown when the member and resource are not in the same VOThis exception is thrown when trying to add member to the group from other VOThis exception is thrown when principal has roles always requiring MFA and roles always skipping MFA at the same timeThis exception is thrown when principal is performing MFA-requiring action but is not authenticated with Multi-FactorThis exception is thrown when principal has role always requiring MFA but is not authenticated with Multi-FactorThis exception is thrown when principal has roles always requiring MFA and the auth time is older than the limit defined in the configThis exception is thrown when principal is performing MFA-requiring action and the auth time is older than the limit defined in the configThis exception is thrown when verifying Multi-factor authentication fails.This exception raises when name of entity is not long enough.Thrown when application form doesn't contain submit or auto-submit button when it shouldThis exception is thrown when the virtual attribute module for an attribute does not existThrown when application form contains multiple application form items of such type that maximum 1 is allowed.This exception is thrown when trying to get a namespace rules which does not exist in the LoginNamespacesRulesConfigContainerThis exception is thrown when the member is not a member of the group or does not exist at allThis exception is thrown when the user doesn't have the chosen attribute for mail set, where the notification should be sent to.This exception is thrown when expecting a user who is not service user or expecting a user who is not sponsoredThis exception raises when a number is not in the range of numbers.This exception raises when in the name of entity is any number.Exception thrown when IDs in passed API object do not match real state in Perun.This exception is thrown when trying to get an OidcConfig, but OIDC config file does not exist.This exception is thrown when trying to get an OidcConfig which does not exist in PerunOidConfigContainer.This exception is thrown when some open application exists.This exception is thrown when the owner has already been assigned to the facilityThis exception is thrown when the owner has already been removed from the facilityThis exception is thrown when the owner does not exist in the databaseThis exception is thrown when the parent group for the group does not existThis exception raises when some parsing problem occur (regex, matcher, pattern, etc.)This exception is thrown when there is missing important part after parsing user name.This exception is thrown when the password could not be changed because it failed for various reasonsThis exception is thrown when the password could not be changed because the login is unavailable or other various problems occurredThis exception is thrown when the password could not be deleted because it's not reserved, it's in use or other various reasonsThis exception is thrown when the old password doesn't matchThrown when operation with password in backend exceeds expected limit.This exception is thrown when password reset link expired (after couple of hours).This exception is thrown when password reset link is not valid because it was either already used or has never existed.This exception is thrown when password fails strength check required by the namespaceThrown when password doesn't match expected strength requirements.This exception is thrown when a change of the user's data is not enabled.Checked version of PerunBeanNotSupportedException.The base of Perun checked exceptions.This exception is thrown when trying to get a policy which does not exist in the PerunPoliciesContainerChecked version of PrivilegeException.Raised when transferred quotas attribute value is not in defined limit.This exception means that some relation or dependency exists which prevents to execute the action.This exception means that some relation or dependency not exists which prevents to execute the action.This exception is thrown when the resource can't be removed because it is not in the database anymoreThis exception is thrown when the resource could not be created/updated because there is already a resource with the same nameThis exception is thrown when trying to get a resource which does not exist in the databaseThis exception is thrown when the resourceTag has already been assigned to the resourceThis exception is thrown when trying to remove a resourceTag which has already been removedThis exception is thrown when trying to get a resourceTag that does not exist in the databaseThis exception is thrown when trying to set a role which is already set for given entities.This exception is thrown when trying to set or unset a role which cannot be managed by anyone.This exception is thrown when it is not possible to set a given role.This exception is thrown when trying to get a role management rules which does not exist in the PerunPoliciesContainerThis exception is thrown when trying to unset a role which was not set for given entities.Checked version of RoleNotSupportedException.The role + RoleObject combination of AttributePolicy is not supportedThis enum represents possible RPC error types.This exception is thrown when the service has already been assigned to the resource.This exception is thrown when the service is already blocked/banned on facility/destination.This exception is thrown when trying to delete a service that has already been deleted from the databaseThis exception is thrown when trying to remove service from service package but the service has already been removedThis exception is thrown when trying to add attributes which are forbidden unless the service is globally disabled.This exception is thrown when trying to create a service with a name that has already been usedThis exception is thrown when trying to unblock service which is not blocked.This exception is thrown when trying to remove service from resource but the service hasn't been assigned to the resource.This exception is thrown when the service has not been found in the databaseThis exception is thrown when trying to create servicePackage with a name that has already been usedThis exception is thrown when the servicePackage has not been found in the databaseThis exception raises when the name of entity contains at least one space.This exception raises when in the name of entity is any special char.This exception is thrown when trying to delete a specific user that has already been deletedThrown when expecting specificUser but the user was not specificUserThis exception means that serviceUser can't exist without any assigned user.Thrown when trying to remove specificUser's owner who has already been removed as an ownerValidation of SSH key failed for some reasonThrown when the subGroup cannot be removedThrown when the subject with the specific login has not been found in the databaseThis exception is thrown when the user has already been removedThrown when trying to remove an userExtSource which has already been removedThrown when userExtSource with the specific login already existsThrown when the userExtSource has not been found either because it is not in the database or additional identifiers were not providedThrown when the user is not the admin or is not in a role allowing him to do a specific actionThrown when the user has not been found in the databaseThrown when the user is not in required role.Thrown when trying to create a VO with an id or a name of another existing VOThrown when the VO has not been found in the databaseThrown while assigning attribute to wrong entity.Thrown when the attribute has wrong/illegal value.Raised when working with a module which doesn't have expected type.Pattern is not well-formed.Exception, which is used for bad range of messages count for audit messages.Attribute which is reference for used attribute has illegal value.