Overture  Version 25
Public Member Functions | Public Attributes | List of all members
KK::Err Class Reference

standard exception class More...

#include <kk_defines.hh>

Inheritance diagram for KK::Err:
Inheritance graph
[legend]
Collaboration diagram for KK::Err:
Collaboration graph
[legend]

Public Member Functions

 Err ()
 default constructor, initializes the message to nothing
 
 Err (std::string s)
 provide a message to the error class
 
virtual ~Err () throw ()
 override default std::exception::~exception
 
virtual std::string repr () const
 report the error string
 

Public Attributes

std::string msg
 direct access to the error string
 

Detailed Description

standard exception class

Constructor & Destructor Documentation

KK::Err::Err ( )
inline

default constructor, initializes the message to nothing

KK::Err::Err ( std::string  s)
inline

provide a message to the error class

virtual KK::Err::~Err ( ) throw ()
inlinevirtual

override default std::exception::~exception

Member Function Documentation

virtual std::string KK::Err::repr ( ) const
inlinevirtual

report the error string

References msg.

Member Data Documentation

std::string KK::Err::msg

direct access to the error string

Referenced by repr().


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