Enum Class Errors

java.lang.Object
java.lang.Enum<Errors>
de.bottlecaps.markup.blitz.Errors
All Implemented Interfaces:
Serializable, Comparable<Errors>, Constable

public enum Errors extends Enum<Errors>
Invisible XML error codes.
  • Enum Constant Details

    • S01

      public static final Errors S01
      S01.
    • S02

      public static final Errors S02
      S02.
    • S03

      public static final Errors S03
      S03.
    • S06

      public static final Errors S06
      S06.
    • S07

      public static final Errors S07
      S07.
    • S08

      public static final Errors S08
      S08.
    • S09

      public static final Errors S09
      S09.
    • S10

      public static final Errors S10
      S10.
    • S11

      public static final Errors S11
      S11.
    • S12

      public static final Errors S12
      S12.
    • D01

      public static final Errors D01
      D01.
    • D02

      public static final Errors D02
      D02.
    • D03

      public static final Errors D03
      D03.
    • D04

      public static final Errors D04
      D04.
    • D05

      public static final Errors D05
      D05.
    • D06

      public static final Errors D06
      D06.
    • D07

      public static final Errors D07
      D07.
  • Field Details

    • text

      private String text
      Error message text.
  • Constructor Details

    • Errors

      private Errors(String text)
      Constructor.
      Parameters:
      text - error message text
  • Method Details

    • values

      public static Errors[] 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 Errors 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
    • thro

      public void thro(String... args)
      Throw error message with arguments.
      Parameters:
      args - arguments