Package com.helger.commons.error
Enum ErrorTextProvider.EField
- All Implemented Interfaces:
IHasID<String>,Serializable,Comparable<ErrorTextProvider.EField>,java.lang.constant.Constable
- Enclosing class:
ErrorTextProvider
public static enum ErrorTextProvider.EField
extends Enum<ErrorTextProvider.EField>
implements IHasID<String>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorTextProvider.EFieldgetFromIDOrNull(String sID) getID()Get the unique ID of this object.booleanstatic ErrorTextProvider.EFieldReturns the enum constant of this type with the specified name.static ErrorTextProvider.EField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONSTANT
-
ERROR_DATETIME
-
ERROR_LEVEL
-
ERROR_ID
-
ERROR_FIELD_NAME
-
ERROR_LOCATION
-
ERROR_TEXT
-
ERROR_LINKED_EXCEPTION_CLASS
-
ERROR_LINKED_EXCEPTION_MESSAGE
-
ERROR_LINKED_EXCEPTION_STACK_TRACE
-
ERROR_LINKED_EXCEPTION_CAUSE_CLASS
-
ERROR_LINKED_EXCEPTION_CAUSE_MESSAGE
-
ERROR_LINKED_EXCEPTION_CAUSE_STACK_TRACE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getID
Description copied from interface:IHasIDGet the unique ID of this object. If the type isStringthan the returned value must match an XML NMToken expression (so e.g. no ':' in the ID)! -
isPlaceholderRequired
public boolean isPlaceholderRequired() -
getFromIDOrNull
-