Enum Class Blame

java.lang.Object
java.lang.Enum<Blame>
ch.tocco.nice2.netui.api.bind.Blame
All Implemented Interfaces:
Serializable, Comparable<Blame>, Constable

@Deprecated public enum Blame extends Enum<Blame>
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 Constants
    Enum Constant
    Description
    Deprecated.
    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

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    static Blame
    Deprecated.
    Returns the enum constant of this class with the specified name.
    static Blame[]
    Deprecated.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CIRCUMSTANCE

      public static final Blame 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

      public static final Blame CODE
      Deprecated.
      For example an IllegalArgumentException.
    • CONFIG

      public static final Blame 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

      public static Blame[] 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

      public static Blame valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • doLog

      public boolean doLog()
      Deprecated.