Version: 8.3.0
YACS::Exception Class Reference

#include <Exception.hxx>

Inheritance diagram for YACS::Exception:
Collaboration diagram for YACS::Exception:

Public Member Functions

 Exception (const std::string &what, int errNumber=0)
 
const char * what (void) const throw ()
 
virtual ~Exception () throw ()
 

Public Attributes

int errNumber
 

Protected Attributes

std::string _what
 

Detailed Description

Definition at line 30 of file Exception.hxx.

Constructor & Destructor Documentation

Exception::Exception ( const std::string &  what,
int  errNumber = 0 
)

Definition at line 31 of file Exception.cxx.

References _what, and CORBAEngineTest::i.

32 {
33 #ifdef _DEVDEBUG_
34  void *array[20];
35  size_t size=10;
36  char **strings;
37  size_t i;
38 
39  size = backtrace (array, 10);
40  strings = backtrace_symbols (array, size);
41 
42  _what=_what+'\n';
43  for (i = 0; i < size; i++)
44  _what=_what+strings[i]+'\n';
45 
46  free (strings);
47 #endif
48 }
Exception::~Exception ( ) throw ()
virtual

Definition at line 55 of file Exception.cxx.

56 {
57 }

Member Function Documentation

const char * Exception::what ( void  ) const throw ()

Definition at line 50 of file Exception.cxx.

References _what.

Referenced by YACS::ENGINE::ComposedNode::checkConsistency(), YACS::ENGINE::checkSequence< PYTHONImpl, PyObject *, void * >(), YACS::ENGINE::checkStruct< PYTHONImpl, PyObject *, void * >(), YACS::ENGINE::PythonEntry::commonRemoteLoadPart1(), YACS::bloctypeParser< T >::control(), YACS::ENGINE::ConversionException::ConversionException(), YACS::ENGINE::convertToYacsSequence< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsStruct< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >::convert(), YACS::looptypeParser< T >::datalink(), YACS::bloctypeParser< T >::datalink(), driverTest(), YACS::ENGINE::ElementaryNode::edUpdateState(), YACS::ENGINE::ComposedNode::edUpdateState(), YACS::ENGINE::StudyInNode::execute(), YACS::ENGINE::DistributedPythonNode::execute(), YACS::ENGINE::PythonNode::executeLocal(), YACS::ENGINE::PyFuncNode::executeLocal(), YACS::ENGINE::PythonNode::executeRemote(), YACS::ENGINE::PyFuncNode::executeRemote(), YACS::ENGINE::ForEachLoop::exUpdateState(), YACS::ENGINE::Executor::functionForTaskExecution(), YACS::ENGINE::Proc::getInPortValue(), YACS::ENGINE::Proc::getOutPortValue(), YACS::ENGINE::Executor::launchTasks(), YACS::ENGINE::ServerNode::load(), YACS::YACSLoader::load(), YACS::ENGINE::ServiceNode::load(), YACS::ENGINE::OptimizerLoop::loadAlgorithm(), YACS::ENGINE::ProcCataLoader::loadCata(), YACS::ENGINE::Executor::loadTask(), YACS::HMI::CommandAddNodeFromCatalog::localExecute(), YACS::HMI::CommandReparentNode::localExecute(), YACS::HMI::CommandPutInComposedNode::localExecute(), YACS::HMI::CommandCopyNode::localExecute(), YACS::HMI::CommandRenameNode::localExecute(), YACS::HMI::CommandRenameContainer::localExecute(), YACS::HMI::CommandRenameInDataPort::localExecute(), YACS::HMI::CommandRenameOutDataPort::localExecute(), YACS::HMI::CommandAddInputPortFromCatalog::localExecute(), YACS::HMI::CommandAddOutputPortFromCatalog::localExecute(), YACS::HMI::CommandAddIDSPortFromCatalog::localExecute(), YACS::HMI::CommandAddODSPortFromCatalog::localExecute(), YACS::HMI::CommandOrderInputPorts::localExecute(), YACS::HMI::CommandOrderOutputPorts::localExecute(), YACS::HMI::CommandSetInPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetSwitchSelect::localExecute(), YACS::HMI::CommandSetSwitchCase::localExecute(), YACS::HMI::CommandSetForLoopSteps::localExecute(), YACS::HMI::CommandSetWhileCondition::localExecute(), YACS::HMI::CommandSetForEachBranch::localExecute(), YACS::HMI::CommandSetAlgo::localExecute(), YACS::HMI::CommandAddLink::localExecute(), YACS::HMI::CommandAddControlLink::localExecute(), YACS::HMI::CommandAddContainerBase::localExecute(), YACS::HMI::CommandSetContainerProperties::localExecute(), YACS::HMI::CommandSetNodeProperties::localExecute(), YACS::HMI::CommandSetComponentInstanceProperties::localExecute(), YACS::HMI::CommandSetDSPortProperties::localExecute(), YACS::HMI::CommandSetLinkProperties::localExecute(), YACS::HMI::CommandSetFuncNodeFunctionName::localExecute(), YACS::HMI::CommandSetInlineNodeScript::localExecute(), YACS::HMI::CommandAddComponentInstance::localExecute(), YACS::HMI::CommandSetExecutionMode::localExecute(), YACS::HMI::CommandSetContainer::localExecute(), YACS::HMI::CommandAssociateComponentToContainer::localExecute(), YACS::HMI::CommandAssociateServiceToComponent::localExecute(), YACS::HMI::CommandAddComponentFromCatalog::localExecute(), YACS::HMI::CommandDestroy::localExecute(), YACS::HMI::CommandAddNodeFromCatalog::localReverse(), YACS::HMI::CommandReparentNode::localReverse(), YACS::HMI::CommandPutInComposedNode::localReverse(), YACS::HMI::CommandCopyNode::localReverse(), YACS::HMI::CommandRenameNode::localReverse(), YACS::HMI::CommandRenameContainer::localReverse(), YACS::HMI::CommandRenameInDataPort::localReverse(), YACS::HMI::CommandRenameOutDataPort::localReverse(), YACS::HMI::CommandAddDataTypeFromCatalog::localReverse(), YACS::HMI::CommandAddInputPortFromCatalog::localReverse(), YACS::HMI::CommandAddOutputPortFromCatalog::localReverse(), YACS::HMI::CommandAddIDSPortFromCatalog::localReverse(), YACS::HMI::CommandAddODSPortFromCatalog::localReverse(), YACS::HMI::CommandOrderInputPorts::localReverse(), YACS::HMI::CommandOrderOutputPorts::localReverse(), YACS::HMI::CommandSetInPortValue::localReverse(), YACS::HMI::CommandSetOutPortValue::localReverse(), YACS::HMI::CommandSetSwitchSelect::localReverse(), YACS::HMI::CommandSetSwitchCase::localReverse(), YACS::HMI::CommandSetForLoopSteps::localReverse(), YACS::HMI::CommandSetWhileCondition::localReverse(), YACS::HMI::CommandSetForEachBranch::localReverse(), YACS::HMI::CommandSetAlgo::localReverse(), YACS::HMI::CommandAddLink::localReverse(), YACS::HMI::CommandAddControlLink::localReverse(), YACS::HMI::CommandAddContainerBase::localReverse(), YACS::HMI::CommandSetContainerProperties::localReverse(), YACS::HMI::CommandSetNodeProperties::localReverse(), YACS::HMI::CommandSetComponentInstanceProperties::localReverse(), YACS::HMI::CommandSetDSPortProperties::localReverse(), YACS::HMI::CommandSetLinkProperties::localReverse(), YACS::HMI::CommandSetFuncNodeFunctionName::localReverse(), YACS::HMI::CommandSetInlineNodeScript::localReverse(), YACS::HMI::CommandAddComponentInstance::localReverse(), YACS::HMI::CommandSetExecutionMode::localReverse(), YACS::HMI::CommandSetContainer::localReverse(), YACS::HMI::CommandAssociateComponentToContainer::localReverse(), YACS::HMI::CommandAssociateServiceToComponent::localReverse(), YACS::HMI::CommandAddComponentFromCatalog::localReverse(), main(), YACS::HMI::GenericGui::onRunLoadedSchema(), YACS::bloctypeParser< T >::parameter(), YACS::ENGINE::Executor::RunB(), YACS::ENGINE::Executor::saveState(), setErrorMsg(), YACS::ENGINE::Proc::setInPortValue(), YACS::HMI::EditionProc::synchronize(), YACS::HMI::Subject::update(), YACS::ENGINE::ForEachLoop::updateStateForWorkNodeOnFinishedEventFrom(), YACS::ENGINE::ComposedNode::updateStateFrom(), YACS::ENGINE::Bloc::updateStateOnFinishedEventFrom(), YACS::ENGINE::VisitorSaveState::visitElementaryNode(), YACS::ENGINE::VisitorSalomeSaveState::visitForEachLoop(), YACS::ENGINE::VisitorSaveSchema::writeParametersNode(), YACS::HMI::SubjectControlLink::~SubjectControlLink(), YACS::HMI::SubjectDataPort::~SubjectDataPort(), and YACS::HMI::SubjectNode::~SubjectNode().

51 {
52  return _what.c_str();
53 }

Member Data Documentation

int YACS::Exception::errNumber

Definition at line 38 of file Exception.hxx.

Referenced by setErrorMsg().


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