Class DocumentFormatException

    • Constructor Detail

      • DocumentFormatException

        public DocumentFormatException​(String exception)
      • DocumentFormatException

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

        public DocumentFormatException​(Throwable thr)
    • Method Detail

      • 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.