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


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

This annotation defines a view 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 engine
          Defines the view type.
 String exceptions
          The type of the exception whose raising will trigger the error view.
 

Element Detail

target

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

engine

public abstract String engine
Defines the view type. Mandatory field!

Default:
"CGID:Parameter ommited"

exceptions

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

Default:
"java.lang.Exception"


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