Class RecordFormatException

    • Constructor Detail

      • RecordFormatException

        public RecordFormatException​(String exception)
      • RecordFormatException

        public RecordFormatException​(String exception,
                                     Throwable thr)
      • RecordFormatException

        public RecordFormatException​(Throwable thr)
    • Method Detail

      • check

        public static void check​(boolean assertTrue,
                                 String message)
        Syntactic sugar to check whether a RecordFormatException should be thrown. If assertTrue is false, this will throw this exception with the message.
        Parameters:
        assertTrue - If false, the exception is thrown, if true, no action is performed
        message - The message to include in the thrown exception