Enum Class ErrorVerbosity

Object
Enum<ErrorVerbosity>
com.tailf.conf.ErrorVerbosity
All Implemented Interfaces:
Serializable, Comparable<ErrorVerbosity>, Constable

public enum ErrorVerbosity extends Enum<ErrorVerbosity>
verbosity levels for reported errors
  • Enum Constant Details

    • STANDARD

      public static final ErrorVerbosity STANDARD
      Message from top level Exception is reported
    • VERBOSE

      public static final ErrorVerbosity VERBOSE
      As STANDARD plus message from bottom level Exception is reported
    • TRACE

      public static final ErrorVerbosity TRACE
      As VERBOSE plus complete bottom Exception stack trace is reported
  • Method Details

    • values

      public static ErrorVerbosity[] values()
      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 ErrorVerbosity valueOf(String name)
      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
    • valueOf

      public static ErrorVerbosity valueOf(int ordinal)
      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:
      ordinal - 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