public class DocumentFormatException extends RuntimeException
RecordFormatException, except this is thrown
when there's a higher order problem with parsing a document beyond individual records.| Constructor and Description |
|---|
DocumentFormatException(String exception) |
DocumentFormatException(String exception,
Throwable thr) |
DocumentFormatException(Throwable thr) |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(boolean assertTrue,
String message)
Syntactic sugar to check whether a DocumentFormatException should
be thrown.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DocumentFormatException(String exception)
public DocumentFormatException(Throwable thr)
public static void check(boolean assertTrue,
String message)
false, this will throw this
exception with the message.assertTrue - message - Copyright © 2010 - 2020 Adobe. All Rights Reserved