Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ParameterErrorType |
|
| 0.0;0 |
1 | 0 | /** 2007, Digitalis Informatica. All rights reserved. |
2 | * | |
3 | * Distribuicao e Gestao de Informatica, Lda. | |
4 | * Estrada de Paco de Arcos num.9 - Piso -1 | |
5 | * 2780-666 Paco de Arcos | |
6 | * Telefone: (351) 21 4408990 | |
7 | * Fax: (351) 21 4408999 | |
8 | * http://www.digitalis.pt | |
9 | */ | |
10 | package pt.digitalis.dif.dem.objects.parameters.errors; | |
11 | ||
12 | /** | |
13 | * Describes the error that has occurred in a classification type | |
14 | * | |
15 | * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a> | |
16 | * | |
17 | */ | |
18 | 0 | public enum ParameterErrorType { |
19 | ||
20 | /** A constraint has been violated */ | |
21 | 0 | CONSTRAINT, |
22 | ||
23 | /** A validator has been violated */ | |
24 | 0 | VALIDATOR, |
25 | ||
26 | /** A rule has been violated */ | |
27 | 0 | RULE, |
28 | ||
29 | /** No session was available for the session scoped parameter */ | |
30 | 0 | NO_SESSION, |
31 | ||
32 | /** Required parameter missing */ | |
33 | 0 | MISSING, |
34 | ||
35 | /** No user in session was available for the user scoped parameter */ | |
36 | 0 | NO_USER, |
37 | ||
38 | /** Another rule has been violated */ | |
39 | 0 | OTHER; |
40 | } |