PGROUTING  3.2
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 139 of file pgr_assert.h.

Constructor & Destructor Documentation

◆ AssertFailedException()

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

Definition at line 71 of file pgr_assert.cpp.

71  :
72  str(msg) {}

◆ ~AssertFailedException()

virtual AssertFailedException::~AssertFailedException ( )
throw (
)
inlinevirtual

Definition at line 146 of file pgr_assert.h.

146 {}

Member Function Documentation

◆ what()

Member Data Documentation

◆ str

const std::string AssertFailedException::str
private

Holds what() we got as message.

Definition at line 141 of file pgr_assert.h.

Referenced by what().


The documentation for this class was generated from the following files:
AssertFailedException::str
const std::string str
Holds what() we got as message.
Definition: pgr_assert.h:141