Uses of Class
com.evolveum.midpoint.util.exception.CommonException
-
Packages that use CommonException Package Description com.evolveum.midpoint.common com.evolveum.midpoint.gui.api.page Package that contains base page classes.com.evolveum.midpoint.gui.api.util GUI API package for various utility classes and interfaces.com.evolveum.midpoint.gui.impl.component.data.provider com.evolveum.midpoint.gui.impl.page.admin.simulation com.evolveum.midpoint.model.api com.evolveum.midpoint.model.api.correlation com.evolveum.midpoint.model.api.interaction com.evolveum.midpoint.model.api.simulation com.evolveum.midpoint.prism com.evolveum.midpoint.schema.result com.evolveum.midpoint.util com.evolveum.midpoint.util.exception -
-
Uses of CommonException in com.evolveum.midpoint.common
Methods in com.evolveum.midpoint.common with type parameters of type CommonException Modifier and Type Method Description <T extends CommonException>
TLocalizationService. translate(T e)
Fills-in message and localizedMessage based on userFriendlyMessage, if needed.<T extends CommonException>
TLocalizationServiceImpl. translate(T e)
-
Uses of CommonException in com.evolveum.midpoint.gui.api.page
Methods in com.evolveum.midpoint.gui.api.page that throw CommonException Modifier and Type Method Description @NotNull PrismObject<UserType>
PageAdminLTE. getAdministratorPrivileged(OperationResult parentResult)
<T> T
PageAdminLTE. runAsChecked(CheckedProducer<T> producer, PrismObject<UserType> user)
-
Uses of CommonException in com.evolveum.midpoint.gui.api.util
Methods in com.evolveum.midpoint.gui.api.util that throw CommonException Modifier and Type Method Description static ResourceObjectDefinition
WebComponentUtil. getResourceObjectDefinition(ConstructionType construction, PageBase pageBase)
static <T> T
WebComponentUtil. runUnderPowerOfAttorneyIfNeeded(CheckedProducer<T> producer, PrismObject<? extends FocusType> powerDonor, PageBase pageBase, com.evolveum.midpoint.task.api.Task task, OperationResult result)
-
Uses of CommonException in com.evolveum.midpoint.gui.impl.component.data.provider
Methods in com.evolveum.midpoint.gui.impl.component.data.provider that throw CommonException Modifier and Type Method Description protected Integer
SelectableBeanContainerDataProvider. countObjects(Class<C> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected abstract Integer
SelectableBeanDataProvider. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected Integer
SelectableBeanObjectDataProvider. countObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected Integer
SelectableBeanReferenceDataProvider. countObjects(Class<ObjectReferenceType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected List<C>
SelectableBeanContainerDataProvider. searchObjects(Class<C> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected abstract List<T>
SelectableBeanDataProvider. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected List<O>
SelectableBeanObjectDataProvider. searchObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected List<ObjectReferenceType>
SelectableBeanReferenceDataProvider. searchObjects(Class<ObjectReferenceType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result)
-
Uses of CommonException in com.evolveum.midpoint.gui.impl.page.admin.simulation
Methods in com.evolveum.midpoint.gui.impl.page.admin.simulation that throw CommonException Modifier and Type Method Description protected Integer
CombinedRelatedObjectsProvider. countObjects(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected List<SimulationResultProcessedObjectType>
CombinedRelatedObjectsProvider. searchObjects(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task task, OperationResult result)
-
Uses of CommonException in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api that throw CommonException Modifier and Type Method Description <X> X
ModelInteractionService. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result, @NotNull SimulationResultManager.SimulatedFunctionCall<X> functionCall)
Executes the code in `functionCall` parameter (SimulationResultManager.SimulatedFunctionCall
) in the simulation mode (`mode` parameter), with the provided simulation result definition.void
ModelService. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, com.evolveum.midpoint.task.api.Task task, OperationResult parentResult)
default <T> T
ModelInteractionService. runUnderPowerOfAttorneyChecked(CheckedProducer<T> producer, PrismObject<? extends FocusType> donor, com.evolveum.midpoint.task.api.Task task, OperationResult result)
-
Uses of CommonException in com.evolveum.midpoint.model.api.correlation
Methods in com.evolveum.midpoint.model.api.correlation that throw CommonException Modifier and Type Method Description void
CompleteCorrelationResult. throwCommonOrRuntimeExceptionIfPresent()
Throws aCommonException
or aRuntimeException
, if the state is "error". -
Uses of CommonException in com.evolveum.midpoint.model.api.interaction
Methods in com.evolveum.midpoint.model.api.interaction that throw CommonException Modifier and Type Method Description Integer
DashboardService. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, com.evolveum.midpoint.task.api.Task task, OperationResult result)
DashboardWidget
DashboardService. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, com.evolveum.midpoint.task.api.Task task, OperationResult result)
-
Uses of CommonException in com.evolveum.midpoint.model.api.simulation
Methods in com.evolveum.midpoint.model.api.simulation that throw CommonException Modifier and Type Method Description X
SimulationResultManager.SimulatedFunctionCall. execute()
<X> X
SimulationResultManager. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result, @NotNull SimulationResultManager.SimulatedFunctionCall<X> functionCall)
-
Uses of CommonException in com.evolveum.midpoint.prism
Subclasses of CommonException in com.evolveum.midpoint.prism Modifier and Type Class Description static class
PrismContainerValue.RemovedItemDefinitionException
Used when accessing an item whose definition was removed. -
Uses of CommonException in com.evolveum.midpoint.schema.result
Methods in com.evolveum.midpoint.schema.result with parameters of type CommonException Modifier and Type Method Description void
OperationResult. record(CommonException exception)
Records result from a common exception type. -
Uses of CommonException in com.evolveum.midpoint.util
Methods in com.evolveum.midpoint.util that throw CommonException Modifier and Type Method Description void
CheckedConsumer. accept(T argument)
R
CheckedFunction. apply(T argument)
T
CheckedProducer. get()
void
CheckedCommonRunnable. run()
static <T> T
MiscUtil. runChecked(CheckedFunction<Producer<T>,T> function, CheckedProducer<T> checkedProducer)
static <T> T
MiscUtil. unwrapTunnelledException(TunnelException te)
-
Uses of CommonException in com.evolveum.midpoint.util.exception
Subclasses of CommonException in com.evolveum.midpoint.util.exception Modifier and Type Class Description class
AuthorizationException
Exception indicating violation of authorization policies.class
CommunicationException
Generic communication exception.class
ConcurrencyException
Exceptional concurrency state or operation invocation.class
ConfigurationException
Configuration exception indicates that something is mis-configured.class
ExpressionEvaluationException
Error during evaluation of expression.class
IndestructibilityViolationException
class
MaintenanceException
May happen in case that resource is administratively set to maintenance mode.class
NoFocusNameSchemaException
Specific kind of SchemaException.class
ObjectAlreadyExistsException
Object already exists.class
ObjectNotFoundException
Object with specifiedObjectNotFoundException.type
and identifier (ObjectNotFoundException.oid
) has not been found in the repository or in other relevant context.class
PolicyViolationException
class
SchemaException
Error regarding schema.class
ScriptExecutionException
Wraps any exceptions that occur during execution of expressions.class
SecurityViolationException
Exception indicating violation of security policies.class
ThresholdPolicyViolationException
-