PGROUTING  2.6-dev
AssertFailedException Class Reference

Extends std::exception and is the exception that we throw if an assert fails. More...

#include "pgr_assert.h"

Inheritance diagram for AssertFailedException:
Collaboration diagram for AssertFailedException:

Public Member Functions

 AssertFailedException (std::string msg)
 
virtual ~AssertFailedException () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

const std::string str
 Holds what() we got as message. More...
 

Detailed Description

Extends std::exception and is the exception that we throw if an assert fails.

Definition at line 126 of file pgr_assert.h.

Constructor & Destructor Documentation

AssertFailedException::AssertFailedException ( std::string  msg)
explicit

Definition at line 57 of file pgr_assert.cpp.

57  :
58  str(msg) {}
const std::string str
Holds what() we got as message.
Definition: pgr_assert.h:128
virtual AssertFailedException::~AssertFailedException ( )
throw (
)
inlinevirtual

Definition at line 133 of file pgr_assert.h.

133 {}

Member Function Documentation

Member Data Documentation

const std::string AssertFailedException::str
private

Holds what() we got as message.

Definition at line 128 of file pgr_assert.h.

Referenced by what().


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