|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ErrorMessages>
edu.uoc.pfc.transaction.msg.ErrorMessages
public enum ErrorMessages
Enumeration on seran declarats tots els missatges d'error de les excepcions que es puguin produïr durant la manipulació dels certificats o durant la generació i validació de les signatures electròniques del certificat de transacció.
Method Summary | |
---|---|
String |
getValue()
Mètode utilitzat per a consultar el valor d'alguna de les constants de l'enumeration. |
static ErrorMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ErrorMessages[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ErrorMessages ERROR_QUERY_GEN
public static final ErrorMessages ERROR_USERDEST
public static final ErrorMessages ERROR_KEYSTORE
public static final ErrorMessages ERROR_SIGNATURE
public static final ErrorMessages ERROR_USER
public static final ErrorMessages ERROR_TRANSACTION
public static final ErrorMessages ERROR_QUERY_VAL
public static final ErrorMessages ERROR_CERTIFICATE
public static final ErrorMessages ERROR_SIG_VALIDATION
public static final ErrorMessages ERROR_DATA
public static final ErrorMessages ERROR_Q
public static final ErrorMessages ERROR_USER_DST
public static final ErrorMessages ERROR_USER_SRC
public static final ErrorMessages ERROR_TIMESTAMP
Method Detail |
---|
public static ErrorMessages[] values()
for (ErrorMessages c : ErrorMessages.values()) System.out.println(c);
public static ErrorMessages valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |