Top Description Constructors Methods
org.apache.poi.util

public Class DocumentFormatException

extends RuntimeException
Class Inheritance

This is similar to RecordFormatException, except this is thrown when there's a higher order problem with parsing a document beyond individual records.

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public static void
check(boolean assertTrue, String message)

Syntactic sugar to check whether a DocumentFormatException should be thrown.

Constructor Detail

DocumentFormatExceptionback to summary
public DocumentFormatException(String exception)
DocumentFormatExceptionback to summary
public DocumentFormatException(String exception, Throwable thr)
DocumentFormatExceptionback to summary
public DocumentFormatException(Throwable thr)

Method Detail

checkback to summary
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.