HPCToolkit
Diagnostics::FatalException Class Reference

#include <Exception.hpp>

Inheritance diagram for Diagnostics::FatalException:
Collaboration diagram for Diagnostics::FatalException:

Public Member Functions

 FatalException (const char *x, const char *filenm=NULL, unsigned int lineno=0)
 
 FatalException (const std::string x, const char *filenm=NULL, unsigned int lineno=0)
 
virtual ~FatalException ()
 
virtual std::string message () const
 
virtual const std::string & what () const
 
virtual const std::string & where () const
 
virtual void report (std::ostream &os) const
 
virtual void report () const
 

Protected Member Functions

void Ctor (const std::string &x, const char *filenm=NULL, unsigned int lineno=0)
 

Protected Attributes

std::string mWhat
 
std::string mWhere
 

Detailed Description

Definition at line 153 of file Exception.hpp.

Constructor & Destructor Documentation

◆ FatalException() [1/2]

Diagnostics::FatalException::FatalException ( const char *  x,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)

Definition at line 114 of file Exception.cpp.

◆ FatalException() [2/2]

Diagnostics::FatalException::FatalException ( const std::string  x,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)

Definition at line 122 of file Exception.cpp.

◆ ~FatalException()

Diagnostics::FatalException::~FatalException ( )
virtual

Definition at line 130 of file Exception.cpp.

Member Function Documentation

◆ Ctor()

void Exception::Ctor ( const std::string &  x,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)
protectedinherited

Definition at line 99 of file Exception.cpp.

Here is the caller graph for this function:

◆ message()

virtual std::string Diagnostics::FatalException::message ( ) const
inlinevirtual

Reimplemented from Diagnostics::Exception.

Definition at line 169 of file Exception.hpp.

◆ report() [1/2]

virtual void Diagnostics::Exception::report ( std::ostream &  os) const
inlinevirtualinherited

Implements Diagnostics::BaseException.

Definition at line 138 of file Exception.hpp.

Here is the call graph for this function:

◆ report() [2/2]

virtual void Diagnostics::Exception::report ( ) const
inlinevirtualinherited

Implements Diagnostics::BaseException.

Definition at line 142 of file Exception.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ what()

virtual const std::string& Diagnostics::Exception::what ( ) const
inlinevirtualinherited

Implements Diagnostics::BaseException.

Definition at line 126 of file Exception.hpp.

Here is the caller graph for this function:

◆ where()

virtual const std::string& Diagnostics::Exception::where ( ) const
inlinevirtualinherited

Definition at line 129 of file Exception.hpp.

Member Data Documentation

◆ mWhat

std::string Diagnostics::Exception::mWhat
protectedinherited

Definition at line 148 of file Exception.hpp.

◆ mWhere

std::string Diagnostics::Exception::mWhere
protectedinherited

Definition at line 149 of file Exception.hpp.


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