Isorropia: Partitioning, Load Balancing and more
Public Member Functions | Private Attributes | List of all members
Isorropia::Exception Class Reference

A simple extension of std::exception with constructors that accept a message in the form of a 'const char*' or a 'std::string'. More...

#include <Isorropia_Exception.hpp>

Inherits exception.

Public Member Functions

 Exception (const char *msg) throw ()
 constructor that accepts a const char-ptr More...
 
 Exception (std::string msg) throw ()
 constructor that accepts a std::string More...
 
virtual ~Exception () throw ()
 destructor More...
 
const char * what () const throw ()
 return const char-ptr of exception message More...
 

Private Attributes

std::string smsg_
 

Detailed Description

A simple extension of std::exception with constructors that accept a message in the form of a 'const char*' or a 'std::string'.

Examples:
hgedge_weights.cpp, matrix_1.cpp, part_redist.cpp, and vert_weights.cpp.

Constructor & Destructor Documentation

Isorropia::Exception::Exception ( const char *  msg)
throw (
)

constructor that accepts a const char-ptr

Isorropia::Exception::Exception ( std::string  msg)
throw (
)

constructor that accepts a std::string

virtual Isorropia::Exception::~Exception ( )
throw (
)
virtual

destructor

Member Function Documentation

const char * Isorropia::Exception::what ( ) const
throw (
)
inline

return const char-ptr of exception message

Member Data Documentation

std::string Isorropia::Exception::smsg_
private

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