Package ch.tocco.nice2.netui.api.bind
Enum Class Blame
- All Implemented Interfaces:
Serializable
,Comparable<Blame>
,Constable
Deprecated.
Tells who or what's likely to blame when exceptions occur.
Based on this decisions like logging can be made.
Roles
- Administrator
- Developer
- Implementer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Such errors may be logged for the developers long term, but generally don't make much sense for the implementer.Deprecated.For example an IllegalArgumentException.Deprecated.Misconfigured system, for example a referenced entity that is not included in that customer's installation. -
Method Summary
-
Enum Constant Details
-
CIRCUMSTANCE
Deprecated.Such errors may be logged for the developers long term, but generally don't make much sense for the implementer. For example if a persist exception occurs often in one place it could be useful for diagnostics. -
CODE
Deprecated.For example an IllegalArgumentException. -
CONFIG
Deprecated.Misconfigured system, for example a referenced entity that is not included in that customer's installation. Such errors can also come from deployment problems, and should be logged.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
doLog
public boolean doLog()Deprecated.
-