jaula API Reference  version 1.4.0
JAULA::Bad_Data_Type Class Reference

class for incompatible data type exceptions More...

#include <jaula_bad_data_type.h>

Inheritance diagram for JAULA::Bad_Data_Type:
JAULA::Exception

Public Member Functions

 Bad_Data_Type (std::string const &detail="", std::string const &action="", std::string const &origin="")
 Constructor.
Bad_Data_Typeoperator= (Bad_Data_Type const &orig)
 Assignment operator.
virtual ~Bad_Data_Type ()
 Destructor.

Detailed Description

class for incompatible data type exceptions

This class defines the exceptions to be thrown in case of incompatible data types usage.
Author:
Kombo Morongo <morongo666@gmail.com>

Constructor & Destructor Documentation

JAULA::Bad_Data_Type::Bad_Data_Type ( std::string const &  detail = "",
std::string const &  action = "",
std::string const &  origin = "" 
)

Constructor.

Parameters:
detaildetailed description about the exception which made execution fail.
actionaction being performed when the exception arose.
originName of the method (and others methods that have called this) by the time the exception arose.
Description
This method construct a new exception instance with JAULA::BAD_DATA_TYPE code.

Destructor.


Member Function Documentation

Bad_Data_Type & JAULA::Bad_Data_Type::operator= ( Bad_Data_Type const &  orig)

Assignment operator.

Parameters:
origOriginal instance to copy
Returns:
a reference to the destination instance
Description
Copies the contents of the original instance to destination.
Note:
This method has been redefined from the base class preventing instance type modification.

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