Buffer Interface
|
Exception thrown for CLAllSerial.h and BFSerial.h API errors. More...
#include <CLAllSerial.hpp>
Public Member Functions | |
BFCLException (void) | |
BFCLException (const CLINT32 number) | |
BFCLException (BFCLException const &to_copy) | |
BFCLException (BFCLException &&to_take) | |
BFCLException & | operator= (BFCLException const &to_copy) |
BFCLException & | operator= (BFCLException &&to_take) |
Public Member Functions inherited from BFExceptionBase | |
BFExceptionBase (void) | |
BFExceptionBase (BFExceptionBase const &to_copy) | |
BFExceptionBase (BFExceptionBase &&to_take) | |
virtual | ~BFExceptionBase (void) |
BFExceptionBase & | operator= (BFExceptionBase const &to_copy) |
BFExceptionBase & | operator= (BFExceptionBase &&to_take) |
virtual BFU32 | getErrorText (PBFCHAR ErrorText, PBFU32 ErrorTextSize) const |
virtual std::string | getErrorText (void) const |
virtual BFU32 | getErrorNumber (void) const |
virtual BFU32 | showErrorMsg (void) const |
Static Public Member Functions | |
static BFVOID | check (const CLINT32 errorCode) |
Additional Inherited Members | |
Protected Member Functions inherited from BFExceptionBase | |
BFExceptionBase (const BFU32 number, std::string const &message) | |
BFExceptionBase (const BFU32 number, std::string &&message) | |
Exception thrown for CLAllSerial.h and BFSerial.h API errors.
Possible CLAllSerial.h errors are:
Possible BFSerial.h errors are:
BFCLException::BFCLException | ( | void | ) |
Referenced by check().
BFCLException::BFCLException | ( | const CLINT32 | number | ) |
Initialize a new BFCLException with the given error code and message.
[in] | number | - The error code value for this BFCLException. |
BFCLException::BFCLException | ( | BFCLException const & | to_copy | ) |
Initialize a new BFCLException, copying the contents of the exception to_copy.
[in] | to_copy | - The exception to be copied. |
BFCLException::BFCLException | ( | BFCLException && | to_take | ) |
Initialize a new BFCLException, taking the contents of the exception to_take.
[in] | to_take | - The exception to be taken. |
Throw a BFCLException, if errorCode isn't CL_ERR_NO_ERR.
[in] | errorCode | - The error code value to check. |
BFCLException | thrown, initialized to errorCode, if errorCode isn't CL_ERR_NO_ERR. |
References BFCLException(), and CL_ERR_NO_ERR.
Referenced by CLComm::CLAllSerial::bfGetBaudRate(), CLComm::CLAllSerial::bfSerialCancelRead(), CLComm::CLAllSerial::bfSerialInit(), CLComm::CLAllSerial::bfSerialRead(), CLComm::CLAllSerial::bfSerialSettings(), CLComm::CLAllSerial::bfsVersion(), CLComm::CLAllSerial::bfSWConnectorSerialInit(), CLComm::CLAllSerial::flushPort(), CLComm::CLAllSerial::getErrorText(), CLComm::CLAllSerial::getNumBytesAvail(), CLComm::CLAllSerial::getNumPorts(), CLComm::CLAllSerial::getPortInfo(), CLComm::CLAllSerial::getSupportedBaudRates(), CLComm::CLAllSerial::serialInit(), CLComm::CLAllSerial::serialRead(), CLComm::CLAllSerial::serialWrite(), and CLComm::CLAllSerial::setBaudRate().
BFCLException & BFCLException::operator= | ( | BFCLException const & | to_copy | ) |
Copy the contents of the exception to_copy.
[in] | to_copy | - The exception to be copied. |
References BFExceptionBase::operator=().
BFCLException & BFCLException::operator= | ( | BFCLException && | to_take | ) |
Take the contents of the exception to_take.
[in] | to_take | - The exception to be taken. |
References BFExceptionBase::operator=().