ca.mcgill.sel.aspectoptimaomtt.interfacing
Annotation Type AbortOMTTransactionOnThrowing
@Target(value=METHOD)
@Documented
@Retention(value=RUNTIME)
public @interface AbortOMTTransactionOnThrowing
Specifies an abort condition for AspectOPTIMA Open Multithreaded Transactions.
A transacted method that is annotated with @AbortTransactionOnThrowing(Parameter.class)
will automatically be aborted whenever it throws a Throwable t such that
t instanceof Parameter
is true.
The parameter class needs to be a subclass of Throwable and defaults to Throwable.class.
Optional Element Summary |
java.lang.Class<? extends java.lang.Throwable> |
value
|
value
public abstract java.lang.Class<? extends java.lang.Throwable> value
- Default:
- java.lang.Throwable.class