OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fortTkSupport::Exception Class Reference

#include <Exception.h>

Inheritance diagram for fortTkSupport::Exception:
Inheritance graph
Collaboration diagram for fortTkSupport::Exception:
Collaboration graph

Public Member Functions

 Exception (const char *m, const char *filenm=NULL, unsigned int lineno=0)
 
 Exception (std::string m, const char *filenm=NULL, unsigned int lineno=0)
 
virtual ~Exception ()
 
virtual const std::stringGetMessage () const
 
virtual void Report (std::ostream &os) const
 
virtual void Report () const
 
- Public Member Functions inherited from fortTkSupport::BaseException
 BaseException ()
 
virtual ~BaseException ()
 

Private Member Functions

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

Private Attributes

std::string msg
 

Detailed Description

Definition at line 30 of file Exception.h.

Constructor & Destructor Documentation

fortTkSupport::Exception::Exception ( const char *  m,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)

Definition at line 9 of file Exception.cxx.

References Ctor(), and fortTkSupport::Diagnostics::theMostVisitedBreakpointInHistory().

Here is the call graph for this function:

fortTkSupport::Exception::Exception ( std::string  m,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)

Definition at line 17 of file Exception.cxx.

References Ctor(), and fortTkSupport::Diagnostics::theMostVisitedBreakpointInHistory().

Here is the call graph for this function:

fortTkSupport::Exception::~Exception ( )
virtual

Definition at line 24 of file Exception.cxx.

Member Function Documentation

void fortTkSupport::Exception::Ctor ( std::string m,
const char *  filenm = NULL,
unsigned int  lineno = 0 
)
private

Definition at line 29 of file Exception.cxx.

References msg.

Referenced by Exception().

virtual const std::string& fortTkSupport::Exception::GetMessage ( ) const
inlinevirtual

Implements fortTkSupport::BaseException.

Definition at line 38 of file Exception.h.

References msg.

Referenced by fortTkSupport::FatalException::Report().

virtual void fortTkSupport::Exception::Report ( std::ostream &  os) const
inlinevirtual

Implements fortTkSupport::BaseException.

Reimplemented in fortTkSupport::FatalException.

Definition at line 39 of file Exception.h.

References msg.

virtual void fortTkSupport::Exception::Report ( ) const
inlinevirtual

Implements fortTkSupport::BaseException.

Reimplemented in fortTkSupport::FatalException.

Definition at line 42 of file Exception.h.

References Report().

Referenced by Report().

Here is the call graph for this function:

Member Data Documentation

std::string fortTkSupport::Exception::msg
private

Definition at line 48 of file Exception.h.

Referenced by Ctor(), GetMessage(), and Report().


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