@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.
@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.