Class ErrorStackDumper
java.lang.Object
com.evolveum.midpoint.schema.error.ErrorStackDumper
PoC implementation of dumping a "logical" stack, consisting of a sequence of nested
OperationResult
objects.
Should produce something like this:
----
Already evaluated: EvaluatedPolicyRuleImpl(create-children-on-new-project-creation)
at com.evolveum.midpoint.model.api.ModelService.executeChanges (UNKNOWN)
[p]options=null
at com.evolveum.midpoint.model.impl.lens.Clockwork.run (FATAL_ERROR)
at com.evolveum.midpoint.model.impl.lens.Clockwork.runWithConflictDetection (FATAL_ERROR)
at com.evolveum.midpoint.model.impl.lens.Clockwork.click (FATAL_ERROR)
[c]task=Task(id:1691493171681-1613-1, name:null, oid:null)
[c]context=LensContext(s=SECONDARY, W(e=1,p=1): LensFocusContext(OrgType:28cc620b-3122-4d74-954c-93f5ea0d8c00), [])
at com.evolveum.midpoint.model.impl.lens.projector.Projector.project (FATAL_ERROR)
[p]fromStart=true
[c]projectionWave=1
at com.evolveum.midpoint.model.impl.lens.projector.Projector.focus (FATAL_ERROR)
at com.evolveum.midpoint.model.impl.lens.projector.Projector.focusPolicyRules (FATAL_ERROR)
at com.evolveum.midpoint.model.impl.lens.projector.policy.PolicyRuleEvaluator.evaluateRule (FATAL_ERROR)
[p]policyRule=create-children-on-new-project-creation:(omod)->(executeX)
[p]policyRuleId=4d3280a1-6514-4984-ac2c-7e56c05af258:3
[c]context=org: ariane5 (OID:28cc620b-3122-4d74-954c-93f5ea0d8c00) / AFTER
------
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
dump
(@NotNull Throwable throwable, @NotNull OperationResult result)
-
Constructor Details
-
ErrorStackDumper
public ErrorStackDumper()
-
-
Method Details
-
dump
public static String dump(@NotNull @NotNull Throwable throwable, @NotNull @NotNull OperationResult result)
-