-
public final class DocumentValidationResult.Corrupted extends DocumentValidationResult
The document is corrupted and cannot be opened.
-
-
Field Summary
Fields Modifier and Type Field Description private final CorruptionReasonreasonprivate final IntegererrorCodeprivate final StringerrorMessage
-
Constructor Summary
Constructors Constructor Description DocumentValidationResult.Corrupted(CorruptionReason reason, Integer errorCode, String errorMessage)
-
Method Summary
Modifier and Type Method Description final CorruptionReasongetReason()final IntegergetErrorCode()final StringgetErrorMessage()-
-
Constructor Detail
-
DocumentValidationResult.Corrupted
DocumentValidationResult.Corrupted(CorruptionReason reason, Integer errorCode, String errorMessage)
- Parameters:
reason- The reason for corruptionerrorCode- The native error code from PdfiumCore (if available)errorMessage- The detailed error message from PdfiumCore
-
-
Method Detail
-
getReason
final CorruptionReason getReason()
-
getErrorCode
final Integer getErrorCode()
-
getErrorMessage
final String getErrorMessage()
-
-
-
-