Enum RTXReader.StrictMode

    • Enum Constant Detail

      • RuntimeException

        public static final RTXReader.StrictMode RuntimeException
        When the RTX is invalid, then do throw a RuntimeException
      • LogRuntimeException

        public static final RTXReader.StrictMode LogRuntimeException
        When the RTX is invalid, then do log the error and throw a RuntimeException
      • LogContinue

        @Deprecated
        public static final RTXReader.StrictMode LogContinue
        Deprecated.
        When an exception occurs while reading RTX do log the error, but continue trying to read the RTX. This is not intended for production use and is only for testing purposes.
      • LogTerminate

        @Deprecated
        public static final RTXReader.StrictMode LogTerminate
        Deprecated.
        When an exception occurs while reading RTX do log the error and stop reading. This might throw an exception. This is not intended for production use and is only for testing purposes.
    • Method Detail

      • values

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

        public static RTXReader.StrictMode 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
      • doLog

        public boolean doLog()
      • doThrow

        public boolean doThrow()
      • returnValue

        public boolean returnValue()