B2BITS FIX Antenna C++ 2.33.0
|
Scheduler exception class. More...
#include <B2BITS_SchedulerException.h>
Public Types | |
enum | ErrorCode { ErrorCode_BadSchedule = 1 , ErrorCode_BadScheduleId , ErrorCode_BadArguments , ErrorCode_Internal , ErrorCode_BadTimeZone , ErrorCode_BadTradePeriodBegin , ErrorCode_BadTradePeriodEnd , ErrorCode_BadDaysOff } |
Public Member Functions | |
int | getErrorCode () const |
Returns error code. | |
SchedulerException (const std::string &aReason, int errorCode) | |
SchedulerException (int errorCode) | |
Public Member Functions inherited from Utils::Exception | |
Exception () | |
Constructor. | |
Exception (const std::string &aReason) | |
Constructor. | |
std::string const & | reason () const throw () |
Returns the reason for this exception. | |
virtual const char * | what () const throw () |
Returns the reason for this exception. | |
virtual | ~Exception () throw () |
Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from Utils::Exception | |
std::string | m_reason |
std::string that describes raised exception | |
Scheduler exception class.
Enumerator | |
---|---|
ErrorCode_BadSchedule | Schedule passed is invalid. |
ErrorCode_BadScheduleId | Schedule ID is invalid. |
ErrorCode_BadArguments | Bad call arguments. |
ErrorCode_Internal | Some uncertain internal error. |
ErrorCode_BadTimeZone | Bad call argument - time zone. |
ErrorCode_BadTradePeriodBegin | Bad call argument - trade period begin. |
ErrorCode_BadTradePeriodEnd | Bad call argument - trade period end. |
ErrorCode_BadDaysOff | Bad call argument - days off. |
|
inline |
|
inline |
|
inline |
Returns error code.