Loris::AssertionFailure Class Reference

#include <LorisExceptions.h>

Inheritance diagram for Loris::AssertionFailure:

List of all members.

Public Member Functions

 AssertionFailure (const std::string &str, const std::string &where="")

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 = "" 
) [inline]

Construct a new instance with the specified description and, optionally a string identifying the location at which the exception as thrown. The Throw( Exception_Class, description_string ) macro generates a location string automatically using __FILE__ and __LINE__.

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

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

Generated by  doxygen 1.6.2