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:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PTEID_ExBatchSignatureFailed(int lError, long failedIndex)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
long
GetFailedSignatureIndex()
-
Methods inherited from class pt.gov.cartaodecidadao.PTEID_Exception
GetError, GetMessage
-
-
-
-
Method Detail
-
delete
public void delete()
- Overrides:
delete
in classPTEID_Exception
-
GetFailedSignatureIndex
public long GetFailedSignatureIndex()
-
-