Class PTEID_ExBatchSignatureFailed

All Implemented Interfaces:
Serializable

public class PTEID_ExBatchSignatureFailed extends PTEID_Exception
Exception class PTEID_ExBatchSignatureFailed error codes:

All error codes related with pdf signatures (except timestamp/LTV errors), e.g.:

EIDMW_PDF_INVALID_ERROR
EIDMW_PDF_UNSUPPORTED_ERROR
EIDMW_PDF_INVALID_PAGE_ERROR

Throw when batch signature fails.
Used in : - int PTEID_EIDCard::SignPDF(PTEID_PDFSignature &sig_handler, int page, double coord_x, double coord_y, const char *location, const char *reason, const char *outfile_path)

Use GetFailedSignatureIndex() to know which of the signatures(from the batch) failed.
See Also:
  • Constructor Details

    • PTEID_ExBatchSignatureFailed

      public PTEID_ExBatchSignatureFailed(int lError, long failedIndex)
      Constructor
  • Method Details

    • delete

      public void delete()
      Overrides:
      delete in class PTEID_Exception
    • GetFailedSignatureIndex

      public long GetFailedSignatureIndex()