Go to the source code of this file.
Namespaces | |
| namespace | H3D |
| namespace | H3D::Exception |
Classes | |
| class | H3D::Exception::H3DException |
| The base class for all exceptions. More... | |
| class | H3D::Exception::H3DAPIException |
| This is the base class for exceptions where the location in the source code is included. More... | |
| class | H3D::Exception::ValueException< ValueType > |
| A virtual template class for instantiating exceptions based on a value. More... | |
| class | H3D::Exception::QuitAPI |
| This is special exception that can be thrown in order to quit the API. More... | |
Defines | |
| #define | H3D_FULL_LOCATION __FUNCTION__, __FILE__, __LINE__ |
| Macro for use with H3D::Exception::H3DAPIException constructor. | |
| #define | H3D_FILE_LOCATION "", __FILE__, __LINE__ |
| Macro for use with H3D::Exception::H3DAPIException constructor. | |
| #define | H3D_FUNCTION_LOCATION __FUNCTION__ |
| Macro for use with H3D::Exception::H3DAPIException constructor. | |
| #define | H3D_VALUE_EXCEPTION(value_type, name) |
| Macro for easy creation of a H3D::Exception::ValueException class. | |
| #define | H3D_API_EXCEPTION(name) |
| Macro for easy creation of a H3D::Exception::H3DAPIException subclass. | |
Functions | |
| ostream & | H3D::Exception::operator<< (ostream &os, const H3DException &e) |
| The << operator calls the print() function of the H3DException. | |
|
|
Value: class name : public H3D::Exception::H3DAPIException { \ public: \ name( const string &_message = "", \ const string &_function = "", \ const string &_filename = "", \ const int &_linenumber = -1 ) : \ H3D::Exception::H3DAPIException( _message, _function, \ _filename, _linenumber) {} \ protected: \ string className() const { return #name; } \ }
|
|
|
Macro for use with H3D::Exception::H3DAPIException constructor. Are to be given to the constructor in place for the arguments function, filename and linenumber. The exception will then include info about file name and line number of the exception. |
|
|
Macro for use with H3D::Exception::H3DAPIException constructor. Are to be given to the constructor in place for the arguments function, filename and linenumber. The exception will then include full info about the three above mentioned arguments. |
|
|
Macro for use with H3D::Exception::H3DAPIException constructor. Are to be given to the constructor in place for the arguments function, filename and linenumber. The exception will then include info about the function in which the exception occured. |
|
|
Value: class name : public H3D::Exception::ValueException< value_type > { \ public: \ name( value_type _value, \ const string &_message = "", \ const string &_function = "", \ const string &_filename = "", \ const int &_linenumber = -1 ) : \ H3D::Exception::ValueException< value_type >( _value, _message, \ _function, \ _filename, _linenumber) {} \ protected: \ string className() const { return #name; } \ }
|
1.4.5