Enum AvaticaSeverity

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AvaticaSeverity>

    public enum AvaticaSeverity
    extends java.lang.Enum<AvaticaSeverity>
    An enumeration that denotes the severity of a given unexpected state.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ERROR
      The result of an action resulted in an error which the current operation cannot recover from.
      FATAL
      The system has been left in an unrecoverable state as a result of an operation.
      UNKNOWN
      The severity of the outcome of some unexpected state is unknown.
      WARNING
      The operation completed successfully but a message was generated to warn the client about some unexpected state or action.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AvaticaSeverity​(int value)  
    • Enum Constant Detail

      • UNKNOWN

        public static final AvaticaSeverity UNKNOWN
        The severity of the outcome of some unexpected state is unknown.
      • FATAL

        public static final AvaticaSeverity FATAL
        The system has been left in an unrecoverable state as a result of an operation.
      • ERROR

        public static final AvaticaSeverity ERROR
        The result of an action resulted in an error which the current operation cannot recover from. Clients can attempt to execute the operation again.
      • WARNING

        public static final AvaticaSeverity WARNING
        The operation completed successfully but a message was generated to warn the client about some unexpected state or action.
    • Field Detail

      • value

        private final int value
    • Constructor Detail

      • AvaticaSeverity

        private AvaticaSeverity​(int value)
    • Method Detail

      • values

        public static AvaticaSeverity[] 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 (AvaticaSeverity c : AvaticaSeverity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AvaticaSeverity valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()