ca.mcgill.sel.aspectoptima.interfacing
Annotation Type AbortTransactionOnThrowing
@Target(value=METHOD)
@Documented
@Retention(value=RUNTIME)
public @interface AbortTransactionOnThrowing
Specifies an abort condition for AspectOPTIMA transactions.
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