B2BITS FIX Antenna C++  2.29.0
Public Types | Public Member Functions | List of all members
System::SchedulerException Class Reference

Scheduler exception class. More...

#include <B2BITS_SchedulerException.h>

+ Inheritance diagram for System::SchedulerException:
+ Collaboration diagram for System::SchedulerException:

Public Types

enum  ErrorCode { ErrorCode_BadSchedule = 1, ErrorCode_BadScheduleId, ErrorCode_BadArguments, ErrorCode_Internal }
 

Public Member Functions

int getErrorCode () const
 Returns error code. More...
 
 SchedulerException (int errorCode)
 
 SchedulerException (const std::string &aReason, int errorCode)
 
- Public Member Functions inherited from Utils::Exception
 Exception ()
 Constructor. More...
 
 Exception (const std::string &aReason)
 Constructor. More...
 
std::string const & reason () const throw ()
 Returns the reason for this exception. More...
 
virtual const char * what () const throw ()
 Returns the reason for this exception. More...
 
virtual ~Exception () throw ()
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Utils::Exception
std::string m_reason
 std::string that describes raised exception More...
 

Detailed Description

Scheduler exception class.

Member Enumeration Documentation

◆ ErrorCode

Enumerator
ErrorCode_BadSchedule 

Schedule passed is invalid.

ErrorCode_BadScheduleId 

Schedule ID is invalid.

ErrorCode_BadArguments 

Bad call arguments.

ErrorCode_Internal 

Some uncertain internal error.

Constructor & Destructor Documentation

◆ SchedulerException() [1/2]

System::SchedulerException::SchedulerException ( int  errorCode)
inline

◆ SchedulerException() [2/2]

System::SchedulerException::SchedulerException ( const std::string &  aReason,
int  errorCode 
)
inline

Member Function Documentation

◆ getErrorCode()

int System::SchedulerException::getErrorCode ( ) const
inline

Returns error code.