pt.digitalis.dif.dem.annotations.stage
Annotation Type ErrorStage


@Target(value={TYPE,FIELD})
@Retention(value=RUNTIME)
public @interface ErrorStage

This annotation defines a stage for execution if an exception is thrown. It is a non-pure primary annotation. Yields primariness to @StageDefinition when used with this annotation.

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt
Created on:
2007/05/11

Required Element Summary
 String target
          The error stage id.
 
Optional Element Summary
 String exceptions
          The type of the exception whose raising will trigger the error stage.
 

Element Detail

target

public abstract String target
The error stage id. Mandatory field!!

exceptions

public abstract String exceptions
The type of the exception whose raising will trigger the error stage. By default, any Exception will trigger the error stage.

Default:
"java.lang.exception"


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.