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

#include <KeypleReaderIOException.h>

Inherits keyple::core::seproxy::exception::KeypleReaderException.

Public Member Functions

 KeypleReaderIOException (const std::string &msg)
 
 KeypleReaderIOException (const std::string &msg, const std::exception &cause)
 
const std::vector< std::shared_ptr< SeResponse > > & getSeResponses () const
 
void setSeResponses (const std::vector< std::shared_ptr< SeResponse >> &seResponses)
 
std::shared_ptr< SeResponsegetSeResponse () const
 
void setSeResponse (const std::shared_ptr< SeResponse > seResponse)
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from keyple::core::seproxy::exception::KeypleReaderException
 KeypleReaderException (const std::string &msg)
 
 KeypleReaderException (const std::string &msg, const std::exception &cause)
 

Detailed Description

The exception KeypleReaderIOException indicates that some IO operations with the reader or SE have failed, generally when the reader was disconnected or card removed.

Constructor & Destructor Documentation

◆ KeypleReaderIOException() [1/2]

keyple::core::seproxy::exception::KeypleReaderIOException::KeypleReaderIOException ( const std::string &  msg)
inline

New exception to be thrown

Parameters
msg: message to identify the exception and the context

◆ KeypleReaderIOException() [2/2]

keyple::core::seproxy::exception::KeypleReaderIOException::KeypleReaderIOException ( const std::string &  msg,
const std::exception &  cause 
)
inline

Encapsulate a lower level reader exception

Parameters
msg: message to add some context to the exception
cause: lower level exception

Member Function Documentation

◆ getSeResponse()

std::shared_ptr<SeResponse> keyple::core::seproxy::exception::KeypleReaderIOException::getSeResponse ( ) const
inline

◆ getSeResponses()

const std::vector<std::shared_ptr<SeResponse> >& keyple::core::seproxy::exception::KeypleReaderIOException::getSeResponses ( ) const
inline

◆ setSeResponse()

void keyple::core::seproxy::exception::KeypleReaderIOException::setSeResponse ( const std::shared_ptr< SeResponse seResponse)
inline

◆ setSeResponses()

void keyple::core::seproxy::exception::KeypleReaderIOException::setSeResponses ( const std::vector< std::shared_ptr< SeResponse >> &  seResponses)
inline

The documentation for this class was generated from the following file: