Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | Protected Member Functions | List of all members
keyple::core::command::exception::KeypleSeCommandException Class Reference

#include <KeypleSeCommandException.h>

Inherits keyple::core::seproxy::exception::KeypleException.

Inherited by keyple::calypso::command::po::exception::CalypsoPoCommandException, keyple::calypso::command::sam::exception::CalypsoSamCommandException, and keyple::core::command::exception::KeypleSeCommandUnknownStatusException.

Public Member Functions

const std::shared_ptr< SeCommandgetCommand () const
 
int getStatusCode () const
 
- Public Member Functions inherited from keyple::core::seproxy::exception::KeypleException
 KeypleException (const std::string &msg)
 
 KeypleException (const std::string &msg, const std::exception &cause)
 
- Public Member Functions inherited from keyple::common::exception::RuntimeException
 RuntimeException (const std::string &message)
 
 RuntimeException (const std::string &message, const std::exception cause)
 
- Public Member Functions inherited from keyple::common::exception::Exception
 Exception ()
 
 Exception (const std::string &message)
 
 Exception (const std::string &message, const std::exception cause)
 
const std::string & getMessage () const
 
const std::exception & getCause () const
 

Protected Member Functions

 KeypleSeCommandException (const std::string &message, const std::shared_ptr< SeCommand > command, const int statusCode)
 

Detailed Description

The exception

is the parent abstract class of all Keyple SE APDU commands exceptions.

Constructor & Destructor Documentation

◆ KeypleSeCommandException()

keyple::core::command::exception::KeypleSeCommandException::KeypleSeCommandException ( const std::string &  message,
const std::shared_ptr< SeCommand command,
const int  statusCode 
)
inlineprotected
Parameters
messagethe message to identify the exception context
commandthe command
statusCodethe status code (optional)

Member Function Documentation

◆ getCommand()

const std::shared_ptr<SeCommand> keyple::core::command::exception::KeypleSeCommandException::getCommand ( ) const
inline
Returns
the command

◆ getStatusCode()

int keyple::core::command::exception::KeypleSeCommandException::getStatusCode ( ) const
inline
Returns
the status code (nullable)

The documentation for this class was generated from the following file:
keyple::core::command::exception::KeypleSeCommandException::KeypleSeCommandException
KeypleSeCommandException(const std::string &message, const std::shared_ptr< SeCommand > command, const int statusCode)
Definition: KeypleSeCommandException.h:61