Enum Codes.BuiltInExn

java.lang.Object
java.lang.Enum<Codes.BuiltInExn>
net.hydromatic.morel.eval.Codes.BuiltInExn
All Implemented Interfaces:
Serializable, Comparable<Codes.BuiltInExn>, java.lang.constant.Constable
Enclosing class:
Codes

public static enum Codes.BuiltInExn extends Enum<Codes.BuiltInExn>
Definitions of Morel built-in exceptions.
  • Enum Constant Details

  • Field Details

    • structure

      public final String structure
    • mlName

      public final String mlName
  • Constructor Details

    • BuiltInExn

      private BuiltInExn(String structure, String mlName)
  • Method Details

    • values

      public static Codes.BuiltInExn[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Codes.BuiltInExn valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null