Portuguese eID Middleware SDK  Version: 3.12.0
eIDMW::PTEID_ExBatchSignatureFailed Class Reference

#include <eidlibException.h>

Public Member Functions

PTEIDSDK_API PTEID_ExBatchSignatureFailed (long lError, unsigned int failedIndex)
 
virtual PTEIDSDK_API ~PTEID_ExBatchSignatureFailed ()
 
- Public Member Functions inherited from eIDMW::PTEID_Exception
PTEIDSDK_API PTEID_Exception (long lError)
 
virtual PTEIDSDK_API ~PTEID_Exception ()
 
PTEIDSDK_API long GetError () const
 
PTEIDSDK_API const char * GetMessage ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PTEID_ExBatchSignatureFailed()

PTEIDSDK_API eIDMW::PTEID_ExBatchSignatureFailed::PTEID_ExBatchSignatureFailed ( long  lError,
unsigned int  failedIndex 
)

Constructor

◆ ~PTEID_ExBatchSignatureFailed()

virtual PTEIDSDK_API eIDMW::PTEID_ExBatchSignatureFailed::~PTEID_ExBatchSignatureFailed ( )
virtual

Destructor