UQTk: Uncertainty Quantification Toolkit  3.1.1
Public Member Functions | Private Attributes | List of all members
MyException Class Reference

#include <MyException.h>

Inheritance diagram for MyException:

Public Member Functions

 MyException (const char *errormessage)
 Construct an exception using a C-style character string. More...
 
 MyException (const std::string &errormessage)
 Construct an exception using a C++-style string. More...
 
virtual ~MyException () throw ()
 Destroy. More...
 
const char * what () const throw ()
 What's going on? More...
 

Private Attributes

std::string error_
 

Detailed Description

Just an example exception - feel free to override this.

Constructor & Destructor Documentation

◆ MyException() [1/2]

MyException::MyException ( const char *  errormessage)
inline

Construct an exception using a C-style character string.

◆ MyException() [2/2]

MyException::MyException ( const std::string &  errormessage)
inline

Construct an exception using a C++-style string.

◆ ~MyException()

virtual MyException::~MyException ( )
throw (
)
inlinevirtual

Destroy.

Member Function Documentation

◆ what()

const char* MyException::what ( ) const
throw (
)
inline

What's going on?

This function is not permitted to throw exceptions.

Member Data Documentation

◆ error_

std::string MyException::error_
private

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