Class AdfException.UnsupportedEnumValue

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    AdfException

    public static class AdfException.UnsupportedEnumValue
    extends AdfException
    Thrown when a limited set of enumerated values are permitted, but a value was encountered that is not in the allowed set. For example, alignment can take an align value of center, but cannot accept the British spelling centre. Them's the breaks!
    See Also:
    Serialized Form
    • Constructor Detail

      • UnsupportedEnumValue

        public UnsupportedEnumValue​(String enumName,
                                    @Nullable
                                    String enumValue)
    • Method Detail

      • enumName

        public String enumName()
      • enumValue

        @Nullable
        public String enumValue()