|
Safir SDK Core
|
Exception used to report errors in dou- and dom- files. More...
#include <Safir/Dob/Typesystem/ToolSupport/ParseError.h>
Public Member Functions | |
| ParseError (const std::string &label, const std::string &description, const std::string &file, int errorId) | |
| Constructor - Creates a ParseError object. | |
| ~ParseError () throw () | |
| Destructor. | |
| const std::string & | Label () const throw () |
| Get short error description. | |
| const std::string & | Description () const throw () |
| Get Internaled error description. | |
| const std::string & | File () const throw () |
| Get file where error occured. | |
| int | ErrorId () const |
| Get an error identifier that can be used to find out exactly where this error was generated. | |
| const char * | what () const override throw () |
| Get error informtation on the form "Label; Description; File; ErrorId". | |
Exception used to report errors in dou- and dom- files.
| Safir::Dob::Typesystem::ToolSupport::ParseError::ParseError | ( | const std::string & | label, |
| const std::string & | description, | ||
| const std::string & | file, | ||
| int | errorId ) |
Constructor - Creates a ParseError object.
| label | [in] - Short description of the error. |
| description | [in] - Internaled description of the error. |
| file | [in] - Name of the dou- or dom-file that caused the error. |
| errorId | [in] - Id of this specific error. Can be used by test code and developvers to locate from where this error was thrown. |
| Safir::Dob::Typesystem::ToolSupport::ParseError::~ParseError | ( | ) | ||||
| throw | ( | ) | ||||
Destructor.
| const std::string & Safir::Dob::Typesystem::ToolSupport::ParseError::Description | ( | ) | const | |||
| throw | ( | ) | ||||
Get Internaled error description.
| int Safir::Dob::Typesystem::ToolSupport::ParseError::ErrorId | ( | ) | const |
Get an error identifier that can be used to find out exactly where this error was generated.
Mostly intended for test and development.
| const std::string & Safir::Dob::Typesystem::ToolSupport::ParseError::File | ( | ) | const | |||
| throw | ( | ) | ||||
Get file where error occured.
| const std::string & Safir::Dob::Typesystem::ToolSupport::ParseError::Label | ( | ) | const | |||
| throw | ( | ) | ||||
Get short error description.
|
override | ||||||||||||
Get error informtation on the form "Label; Description; File; ErrorId".
Inherited from std:exception.