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

#include <eidlibException.h>

Public Member Functions

PTEIDSDK_API PTEID_Exception (long lError)
 
virtual PTEIDSDK_API ~PTEID_Exception ()
 
PTEIDSDK_API long GetError () const
 
PTEIDSDK_API const char * GetMessage ()
 

Detailed Description

Base class for the PTEID SDK Exceptions

Constructor & Destructor Documentation

◆ PTEID_Exception()

PTEIDSDK_API eIDMW::PTEID_Exception::PTEID_Exception ( long  lError)

Constructor - Need error code that comes from eidErrors.h

◆ ~PTEID_Exception()

virtual PTEIDSDK_API eIDMW::PTEID_Exception::~PTEID_Exception ( )
virtual

Destructor

Member Function Documentation

◆ GetError()

PTEIDSDK_API long eIDMW::PTEID_Exception::GetError ( ) const

Return the error code

◆ GetMessage()

PTEIDSDK_API const char* eIDMW::PTEID_Exception::GetMessage ( )

Returns the error message based on the error code