Package pt.gov.cartaodecidadao
Class PTEID_Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
pt.gov.cartaodecidadao.PTEID_Exception
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PTEID_ExBadTransaction,PTEID_ExBadUsage,PTEID_ExBatchSignatureFailed,PTEID_ExCardBadType,PTEID_ExCardChanged,PTEID_ExCardTypeUnknown,PTEID_ExCertNoIssuer,PTEID_ExCertNoRoot,PTEID_ExCmdNotAllowed,PTEID_ExCmdNotSupported,PTEID_ExDocTypeUnknown,PTEID_ExFileTypeUnknown,PTEID_ExNoCardPresent,PTEID_ExNoReader,PTEID_ExParamRange,PTEID_ExReaderSetChanged,PTEID_ExReleaseNeeded,PTEID_ExSOD,PTEID_ExUnknown,PTEID_PACE_ERROR
Base class for the PTEID SDK Exceptions
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPTEID_Exception(int lError) Constructor - Need error code that comes from eidErrors.h -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PTEID_Exception
public PTEID_Exception(int lError) Constructor - Need error code that comes from eidErrors.h
-
-
Method Details
-
delete
public void delete() -
GetError
public int GetError()Return the error code -
GetMessage
Returns the error message based on the error code
-