Enum Class FieldException.Type

java.lang.Object
java.lang.Enum<FieldException.Type>
com.rs.seagull.emulator.api.FieldException.Type
All Implemented Interfaces:
Serializable, Comparable<FieldException.Type>, Constable
Enclosing class:
FieldException

public static enum FieldException.Type extends Enum<FieldException.Type>
The type of field exception
  • Enum Constant Details

    • validationException

      public static final FieldException.Type validationException
      The field exception type for when a field does not validate.
    • notInputCapable

      public static final FieldException.Type notInputCapable
      The field exception type for when a field is not input-capable.
    • doesNotExist

      public static final FieldException.Type doesNotExist
      The field exception type for when a field does not exist.
  • Method Details

    • values

      public static FieldException.Type[] 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 FieldException.Type 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