Package de.xima.fc.errors
Enum EErrorType
- java.lang.Object
-
- java.lang.Enum<EErrorType>
-
- de.xima.fc.errors.EErrorType
-
- All Implemented Interfaces:
Serializable
,Comparable<EErrorType>
public enum EErrorType extends Enum<EErrorType>
Beschreibt die verschieden Typen von Fehlern die auftreten können.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTypeString()
Liefert die Ablürzung des Fehlertypsstatic EErrorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATABASE
public static final EErrorType DATABASE
-
COMMON
public static final EErrorType COMMON
-
EXPORT
public static final EErrorType EXPORT
-
BEANS
public static final EErrorType BEANS
-
WORKFLOW
public static final EErrorType WORKFLOW
-
-
Method Detail
-
values
public static EErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EErrorType c : EErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EErrorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTypeString
public String getTypeString()
Liefert die Ablürzung des Fehlertyps- Returns:
- Zeichenkette die den Fehlertyp identifiziert
-
-