1#ifndef __MYEXCEPTION_HPP__
2#define __MYEXCEPTION_HPP__
8#if defined(__linux__) || _MSC_VER >= 1900 || defined(ANDROID)
9#define NOEXCEPT noexcept
14#include <logicalaccess/lla_core_api.hpp>
122#define EXCEPTION_MSG_CONNECTED \
123 "Already connected to a card. Please disconnect before."
125#define EXCEPTION_MSG_NOREADER \
127#define EXCEPTION_MSG_LICENSENOACCESS \
128 "The current license doesn't allow this functionality."
Definition: myexception.hpp:56
ErrorType
Definition: myexception.hpp:70
@ REFERENCE_KEY_UNUSABLE
Definition: myexception.hpp:82
@ NOT_FOUND
Definition: myexception.hpp:86
@ WRONG_CLASS
Definition: myexception.hpp:90
@ EXECUTION_ERROR
Definition: myexception.hpp:75
@ DEFAULT
Definition: myexception.hpp:71
@ WRONG_INSTRUCTION
Definition: myexception.hpp:89
@ SECURITY_STATUS
Definition: myexception.hpp:80
@ COMMAND_NOT_ALLOWED
Definition: myexception.hpp:83
@ FUNCTION_NOT_SUPPORTED
Definition: myexception.hpp:85
@ INVALID_CLA_BYTE
Definition: myexception.hpp:78
@ KEY_NUMBER_INVALID
Definition: myexception.hpp:84
@ UNKOWN_ERROR
Definition: myexception.hpp:92
@ WRONG_P1_P2
Definition: myexception.hpp:87
@ COMMAND_INCOMPATIBLE
Definition: myexception.hpp:79
@ MEMORY_FAILURE
Definition: myexception.hpp:76
@ WRONG_LE
Definition: myexception.hpp:88
@ WRONG_LENGTH
Definition: myexception.hpp:77
@ AID_NOT_FOUND
Definition: myexception.hpp:91
@ AUTHENTICATION_FAILURE
Definition: myexception.hpp:81
CardException(const std::string &message, ErrorType error)
Definition: myexception.hpp:95
enum ErrorType error_code() const
Definition: myexception.hpp:101
enum ErrorType error_type_
Definition: myexception.hpp:107
CardException(const std::string &message)
Definition: myexception.hpp:58
Definition: myexception.hpp:114
IKSException(const std::string &message)
Definition: myexception.hpp:116
A liblogicalaccess exception class.
Definition: myexception.hpp:22
const char * what() const NOEXCEPT override
Definition: myexception.hpp:40
std::string msg_
Definition: myexception.hpp:46
virtual ~LibLogicalAccessException() NOEXCEPT
Definition: myexception.hpp:36
LibLogicalAccessException(const char *message)
Definition: myexception.hpp:24
LibLogicalAccessException(const std::string &message)
Definition: myexception.hpp:30
#define NOEXCEPT
Definition: myexception.hpp:11