Class DocumentFormatException

All Implemented Interfaces:
Serializable

public class DocumentFormatException extends RuntimeException
This is similar to RecordFormatException, except this is thrown when there's a higher order problem with parsing a document beyond individual records.
See Also:
  • Constructor Details

    • DocumentFormatException

      public DocumentFormatException(String exception)
    • DocumentFormatException

      public DocumentFormatException(String exception, Throwable thr)
    • DocumentFormatException

      public DocumentFormatException(Throwable thr)
  • Method Details

    • check

      public static void check(boolean assertTrue, String message)
      Syntactic sugar to check whether a DocumentFormatException should be thrown. If assertTrue is false, this will throw this exception with the message.
      Parameters:
      assertTrue -
      message -