Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Protected Member Functions | Protected Attributes
jafar::helloworld::HelloworldException Class Reference

Base class for all exceptions defined in the module helloworld. More...


Detailed Description

Base class for all exceptions defined in the module helloworld.

Definition at line 17 of file helloworldException.hpp.

#include <helloworldException.hpp>

Inheritance diagram for jafar::helloworld::HelloworldException:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ExceptionId { EMPTY_HELLO, BAD_FORMAT }
 This enumeration defines exceptions id for the module helloworld. More...

Public Member Functions

 HelloworldException (ExceptionId id_, const std::string &message_, const std::string &file_, int line_) throw ()
 Constructor.
ExceptionId getExceptionId () const throw ()

Static Protected Member Functions

static std::string exceptionIdToString (ExceptionId id_) throw ()

Protected Attributes

ExceptionId id

Member Enumeration Documentation

This enumeration defines exceptions id for the module helloworld.

Enumerator:
EMPTY_HELLO 

The hello string is empty.

BAD_FORMAT 

bad format for string hello

Definition at line 24 of file helloworldException.hpp.


Constructor & Destructor Documentation

HelloworldException::HelloworldException ( ExceptionId  id_,
const std::string &  message_,
const std::string &  file_,
int  line_ 
) throw ()

Constructor.

You should not use this constructor directly, prefer macros jfrThrowEx or jfrCreateEx which fill for you parameters file_ and line_.

Parameters:
id_exception id
message_message used for debug
file_where the exception was thrown
line_where the exception was thrown

Definition at line 17 of file helloworldException.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS