jaula API Reference  version 1.4.0
JAULA::Lexan_Error Class Reference

class for lexical analysis exceptions More...

#include <jaula_lexan_error.h>

Inheritance diagram for JAULA::Lexan_Error:
JAULA::Exception

Public Member Functions

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

Detailed Description

class for lexical analysis exceptions

This class defines the exceptions to be thrown when errors are detected during the lexical analysis phase.
Author:
Kombo Morongo <morongo666@gmail.com>

Constructor & Destructor Documentation

JAULA::Lexan_Error::Lexan_Error ( 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::LEXAN_ERROR code.

Destructor.


Member Function Documentation

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

Assignment operator.

Parameters:
origOriginal instance to copy
Returns:
a reference to the destination instance
Description
Copies the contents of the original instance in the 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: