JAULA::Syntax_Error Class Reference
[JAULA: Error handling]

class for syntax exceptions More...

#include <jaula_syntax_error.h>

Inheritance diagram for JAULA::Syntax_Error:

Inheritance graph
[legend]
Collaboration diagram for JAULA::Syntax_Error:

Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

class for syntax exceptions

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


Constructor & Destructor Documentation

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

Constructor.

Parameters:
detail detailed description about the exception (what made the execution fail).
action action being performed when the exception arose.
origin Name 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::SYNTAX_ERROR code.

JAULA::Syntax_Error::~Syntax_Error (  )  [virtual]

Destructor.


Member Function Documentation

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

Assignment operator.

Parameters:
orig Original 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 so the instance type cannot be altered.


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


Back to JAULA Project Documentation Page.

Go to JAULA Project Home Page.


Copyright (c) 2007 Kombo Morongo.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

API Reference Generated for jaula by

doxygen

jaula project hosted by

SourceForge.net Logo