HPCToolkit
CmdLineParser::Exception Class Reference

#include <CmdLineParser.hpp>

Inheritance diagram for CmdLineParser::Exception:
Collaboration diagram for CmdLineParser::Exception:

Public Member Functions

 Exception (const char *x, const char *filenm=NULL, unsigned int lineno=0)
 
 Exception (std::string x, const char *filenm=NULL, unsigned int lineno=0)
 
 ~Exception ()
 
virtual const std::string & what () const
 
virtual const std::string & where () const
 
virtual std::string message () 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 215 of file CmdLineParser.hpp.

Constructor & Destructor Documentation

◆ Exception() [1/2]

CmdLineParser::Exception::Exception ( const char *  x,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)
inline

Definition at line 217 of file CmdLineParser.hpp.

◆ Exception() [2/2]

CmdLineParser::Exception::Exception ( std::string  x,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)
inline

Definition at line 222 of file CmdLineParser.hpp.

◆ ~Exception()

CmdLineParser::Exception::~Exception ( )
inlinevirtual

Reimplemented from Diagnostics::Exception.

Definition at line 227 of file CmdLineParser.hpp.

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::Exception::message ( ) const
inlinevirtualinherited

◆ 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 file: