org.jboss.solder.exception.control
Annotation Type Handles


@Retention(value=RUNTIME)
@Target(value=PARAMETER)
@Documented
public @interface Handles

Marker annotation for a method to be considered an Exception Handler. Handlers are typically in the form of public void ... (@Handles ... CaughtException<...> ...) methods. If a method has a return type, it is ignored.


Optional Element Summary
 TraversalMode during
          Direction of the cause chain traversal to listen.
 int precedence
          Precedence relative to handlers for the same type
 

during

public abstract TraversalMode during
Direction of the cause chain traversal to listen.

Default:
org.jboss.solder.exception.control.TraversalMode.DEPTH_FIRST

precedence

public abstract int precedence
Precedence relative to handlers for the same type

Default:
0


Copyright © 2011 Seam Framework. All Rights Reserved.