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

public class PTEID_Exception extends Exception
Base class for the PTEID SDK Exceptions
See Also:
  • 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

      public String GetMessage()
      Returns the error message based on the error code