Package pt.gov.cartaodecidadao
Class PTEID_ExBatchSignatureFailed
java.lang.Object
java.lang.Throwable
java.lang.Exception
pt.gov.cartaodecidadao.PTEID_Exception
pt.gov.cartaodecidadao.PTEID_ExBatchSignatureFailed
- All Implemented Interfaces:
Serializable
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.
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 Summary
Constructors -
Method Summary
Methods inherited from class pt.gov.cartaodecidadao.PTEID_Exception
GetError, GetMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PTEID_ExBatchSignatureFailed
public PTEID_ExBatchSignatureFailed(int lError, long failedIndex) Constructor
-
-
Method Details
-
delete
public void delete()- Overrides:
deletein classPTEID_Exception
-
GetFailedSignatureIndex
public long GetFailedSignatureIndex()
-