trikRuntime
trikControl::IncorrectStateChangeException Class Reference

Exception for incorrect device state change, for example, from "off" to "stopping". More...

#include <incorrectStateChangeException.h>

Inheritance diagram for trikControl::IncorrectStateChangeException:
Collaboration diagram for trikControl::IncorrectStateChangeException:

Public Member Functions

 IncorrectStateChangeException (const QString &deviceName, DeviceInterface::Status from, DeviceInterface::Status to)
 Constructor. More...
 
 IncorrectStateChangeException (const QString &deviceName, DeviceInterface::Status from)
 Constructor, used to report incorrect resetting of failure state. More...
 
- Public Member Functions inherited from trikKernel::TrikRuntimeException
 TrikRuntimeException ()=default
 
 ~TrikRuntimeException ()=default
 
 TrikRuntimeException (TrikRuntimeException &&e)=default
 Default. More...
 
 TrikRuntimeException (const TrikRuntimeException &e)=delete
 Deleted. More...
 

Detailed Description

Exception for incorrect device state change, for example, from "off" to "stopping".

Constructor & Destructor Documentation

trikControl::IncorrectStateChangeException::IncorrectStateChangeException ( const QString &  deviceName,
DeviceInterface::Status  from,
DeviceInterface::Status  to 
)
inline

Constructor.

Parameters
deviceName- name of the device.
from- status from which we tried to change.
to- status to which we tried to change.
trikControl::IncorrectStateChangeException::IncorrectStateChangeException ( const QString &  deviceName,
DeviceInterface::Status  from 
)
inline

Constructor, used to report incorrect resetting of failure state.

Parameters
deviceName- name of the device.
from- status from which we tried to change.

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