Skip to content

CleanuipHandler default not taking place #14

@cchet

Description

@cchet

@CleanupHandler(
cleanup = DefaultCleanup.class, // This cleanup method is not invoked
value = { @CleanupHandling(
exception = CoreException.class,
cleanup = DefaultCleanup.class) })

This is the case if the occurred exception is not of the type defined in CleanupHandling.
do I misunderstand something wrong or is this a expected behaviour.
E.g.: If a ConcurrentEntityUpdateException is raised, then the cleanup won't work, even if this exception is subtype of the CoreException defined in the annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions