public class Tesseract4OcrException extends OcrException
Modifier and Type | Field and Description |
---|---|
static String |
CANNOT_FIND_PATH_TO_TESSERACT_EXECUTABLE |
static String |
CANNOT_READ_PROVIDED_IMAGE |
static String |
INCORRECT_INPUT_IMAGE_FORMAT |
static String |
INCORRECT_LANGUAGE |
static String |
LANGUAGE_IS_NOT_IN_THE_LIST |
static String |
PATH_TO_TESS_DATA_DIRECTORY_IS_INVALID |
static String |
PATH_TO_TESS_DATA_IS_NOT_SET |
static String |
TESSERACT_FAILED |
static String |
TESSERACT_LIB_NOT_INSTALLED |
static String |
TESSERACT_LIB_NOT_INSTALLED_WIN |
static String |
TESSERACT_NOT_FOUND |
CANNOT_CREATE_PDF_DOCUMENT, CANNOT_READ_INPUT_IMAGE, CANNOT_RESOLVE_PROVIDED_FONTS
Constructor and Description |
---|
Tesseract4OcrException(String msg)
Creates a new TesseractException.
|
Tesseract4OcrException(String msg, Throwable e)
Creates a new TesseractException.
|
getMessage, getMessageParams, setMessageParams
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String INCORRECT_INPUT_IMAGE_FORMAT
public static final String INCORRECT_LANGUAGE
public static final String LANGUAGE_IS_NOT_IN_THE_LIST
public static final String CANNOT_READ_PROVIDED_IMAGE
public static final String TESSERACT_FAILED
public static final String TESSERACT_LIB_NOT_INSTALLED
public static final String TESSERACT_LIB_NOT_INSTALLED_WIN
public static final String TESSERACT_NOT_FOUND
public static final String CANNOT_FIND_PATH_TO_TESSERACT_EXECUTABLE
public static final String PATH_TO_TESS_DATA_DIRECTORY_IS_INVALID
public static final String PATH_TO_TESS_DATA_IS_NOT_SET
public Tesseract4OcrException(String msg, Throwable e)
msg
- the detail message.
e
- the cause (which is saved for later retrieval by Throwable.getCause()
method).
public Tesseract4OcrException(String msg)
msg
- the detail message.
Copyright © 1998–2020 iText Group NV. All rights reserved.