|
jaula API Reference version 1.4.0
|
class for syntax exceptions More...
#include <jaula_syntax_error.h>
Public Member Functions | |
| Syntax_Error & | operator= (Syntax_Error const &orig) |
| Assignment operator. More... | |
| Syntax_Error (std::string const &detail="", std::string const &action="", std::string const &origin="") | |
| Constructor. More... | |
| virtual | ~Syntax_Error () |
| Destructor. More... | |
Public Member Functions inherited from JAULA::Exception | |
| void | addOrigin (std::string const &origin) |
| Attachs a new origin after the existing ones. More... | |
| void | display (std::ostream &ostr) const |
| Represents the instance in a stream. More... | |
| Exception (Exception const &orig) | |
| Copy constructor. More... | |
| Exception (ExCode code=NO_ERROR, std::string const &detail="", std::string const &action="", std::string const &origin="") | |
| Constructor. More... | |
| std::string const & | getAction (void) const |
| Retrieves the action that caused the exception. More... | |
| ExCode | getCode (void) const |
| Retrieves the error code for the exception. More... | |
| virtual std::string const & | getDetail (void) const |
| Retrieves the detailed description for the exception. More... | |
| std::string const & | getOrigin (void) const |
| Retrieves the method being run when the exception arose. More... | |
| Exception & | operator= (Exception const &orig) |
| Assignment operator. More... | |
| void | setAction (std::string const &action) |
| Establishes the action that caused the exception. More... | |
| void | setDetail (std::string const &detail) |
| Establishes the description for the exception. More... | |
| void | setOrigin (std::string const &origin) |
| Establishes the method being run when the exception arose. More... | |
| virtual | ~Exception () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from JAULA::Exception | |
| enum | ExCode { NO_ERROR , BAD_DATA_TYPE , NAME_DUPLICATED , LEXAN_ERROR , SYNTAX_ERROR } |
| Enumeration of available error codes. More... | |
Protected Member Functions inherited from JAULA::Exception | |
| void | setCode (ExCode code) |
| Establishes the error code for the exception. More... | |
class for syntax exceptions
| JAULA::Syntax_Error::Syntax_Error | ( | std::string const & | detail = "", |
| std::string const & | action = "", |
||
| std::string const & | origin = "" |
||
| ) |
Constructor.
| detail | detailed description about the exception which made 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. |
|
virtual |
Destructor.
| Syntax_Error & JAULA::Syntax_Error::operator= | ( | Syntax_Error const & | orig | ) |
Assignment operator.
| orig | Original instance to copy |
References JAULA::Exception::operator=().
Copyright (c) 2007, 2008, 2009 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".
jaula project hosted by