Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

Loris::AssertionFailure Class Reference

Class of exceptions thrown when an assertion (usually representing an invariant condition, and usually detected by the Assert macro) is violated. More...

#include <Exception.h>

Inheritance diagram for Loris::AssertionFailure:

Loris::Exception List of all members.

Public Member Functions

 AssertionFailure (const std::string &str, const std::string &where="")
 string automatically using __FILE__ and __LINE__.


Detailed Description

Class of exceptions thrown when an assertion (usually representing an invariant condition, and usually detected by the Assert macro) is violated.


Constructor & Destructor Documentation

Loris::AssertionFailure::AssertionFailure const std::string &  str,
const std::string &  where = ""
 

string automatically using __FILE__ and __LINE__.

Parameters:
str is a string describing the exceptional condition
where is an option string describing the location in the source code from which the exception was thrown (generated automatically by the Throw macro).


Generated on Thu Apr 14 22:01:55 2005 for Loris by doxygen 1.3.4