Version: 8.3.0
YACS::ENGINE::InvalidExtractionException Class Reference

#include <InvalidExtractionException.hxx>

Inheritance diagram for YACS::ENGINE::InvalidExtractionException:
Collaboration diagram for YACS::ENGINE::InvalidExtractionException:

Public Member Functions

 InvalidExtractionException (DynType kindExpected, DynType myKind)
 
- Public Member Functions inherited from YACS::Exception
 Exception (const std::string &what, int errNumber=0)
 
const char * what (void) const throw ()
 
virtual ~Exception () throw ()
 

Static Private Attributes

static const char TYPEOFEXCEPTION [] ="Invalid runtime of YACS::Any struct : having "
 

Additional Inherited Members

- Public Attributes inherited from YACS::Exception
int errNumber
 
- Protected Attributes inherited from YACS::Exception
std::string _what
 

Detailed Description

Definition at line 32 of file InvalidExtractionException.hxx.

Constructor & Destructor Documentation

InvalidExtractionException::InvalidExtractionException ( DynType  kindExpected,
DynType  myKind 
)

Definition at line 27 of file InvalidExtractionException.cxx.

References YACS::Exception::_what, YACS::ENGINE::TypeCode::getKindRepr(), and TYPEOFEXCEPTION.

28 {
30  _what+=TypeCode::getKindRepr(kindExpected);
31  _what+=" and you want "; _what+=TypeCode::getKindRepr(myKind);
32 }

Member Data Documentation

const char InvalidExtractionException::TYPEOFEXCEPTION ="Invalid runtime of YACS::Any struct : having "
staticprivate

Definition at line 37 of file InvalidExtractionException.hxx.

Referenced by InvalidExtractionException().


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