jaula API Reference  version 1.4.0
JAULA: Error handling

Data Structures

class  JAULA::Bad_Data_Type
 class for incompatible data type exceptions More...
 
class  JAULA::Exception
 Base class for error handling exceptions. More...
 
class  JAULA::Lexan_Error
 class for lexical analysis exceptions More...
 
class  JAULA::Name_Duplicated
 Class for bad object property name exceptions. More...
 
class  JAULA::No_Error
 class for no error condition exceptions More...
 
class  JAULA::Syntax_Error
 class for syntax exceptions More...
 

Enumerations

enum  JAULA::Exception::ExCode {
  JAULA::Exception::NO_ERROR, JAULA::Exception::BAD_DATA_TYPE, JAULA::Exception::NAME_DUPLICATED, JAULA::Exception::LEXAN_ERROR,
  SYNTAX_ERROR
}
 Enumeration of available error codes. More...
 

Functions

std::ostream & operator<< (std::ostream &ostr, JAULA::Exception const &ex)
 Insertion operator extension for Exceptions. More...
 

Detailed Description

Enumeration Type Documentation

Enumeration of available error codes.

Enumerator
NO_ERROR 

No Error detected The data provided for a method is from a wrong type

BAD_DATA_TYPE 

Name repeated for an object property

NAME_DUPLICATED 

Error detected in the lexical analysis phase

LEXAN_ERROR 

Error detected in the syntactic analysis phase

Function Documentation

std::ostream& operator<< ( std::ostream &  ostr,
JAULA::Exception const &  ex 
)

Insertion operator extension for Exceptions.

Parameters
ostrStream where the instance is to be displayed.
exInstance to display
Returns
a reference to the stream
Description
This method extends the standard insertion operation for streams to invoke JAULA::display() through this alternative sintax.
Author
Kombo Morongo moron.nosp@m.go66.nosp@m.6@gma.nosp@m.il.c.nosp@m.om

References JAULA::Exception::display().


Back to JAULA Project Documentation Page.

Go to JAULA Project Home Page.


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".

API Reference Generated for jaula by

doxygen

jaula project hosted by

SourceForge.net Logo