Pothos  0.3.3-g32d3017c
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | List of all members
Pothos::UnhandledException Class Reference

#include <Exception.hpp>

Inheritance diagram for Pothos::UnhandledException:
Inheritance graph
[legend]

Public Member Functions

 UnhandledException (int code=0)
 
 UnhandledException (const std::string &msg, int code=0)
 
 UnhandledException (const std::string &msg, const std::string &arg, int code=0)
 
 UnhandledException (const std::string &msg, const Pothos::Exception &exc, int code=0)
 
 UnhandledException (const UnhandledException &exc)
 
 ~UnhandledException () throw ()
 
UnhandledExceptionoperator= (const UnhandledException &exc)
 
const char * name () const throw ()
 Assignment operator. More...
 
const char * className () const throw ()
 Returns a static string describing the exception. More...
 
Pothos::Exceptionclone () const
 
void rethrow () const
 
- Public Member Functions inherited from Pothos::LogicException
 LogicException (int code=0)
 
 LogicException (const std::string &msg, int code=0)
 
 LogicException (const std::string &msg, const std::string &arg, int code=0)
 
 LogicException (const std::string &msg, const Pothos::Exception &exc, int code=0)
 
 LogicException (const LogicException &exc)
 
 ~LogicException () throw ()
 
LogicExceptionoperator= (const LogicException &exc)
 
- Public Member Functions inherited from Pothos::Exception
 Exception (const std::string &msg, int code=0)
 
 Exception (const std::string &msg, const std::string &arg, int code=0)
 Creates an exception. More...
 
 Exception (const std::string &msg, const Exception &nested, int code=0)
 Creates an exception. More...
 
 Exception (const Exception &exc)
 
 ~Exception () throw ()
 Copy constructor. More...
 
Exceptionoperator= (const Exception &exc)
 Destroys the exception and deletes the nested exception. More...
 
virtual const char * what () const throw ()
 Returns the name of the exception class. More...
 
const Exceptionnested () const
 
const std::string & message () const
 
int code () const
 Returns the message text. More...
 
std::string displayText () const
 Returns the exception code if defined. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Pothos::Exception
 Exception (int code=0)
 
void message (const std::string &msg)
 Standard constructor. More...
 
void extendedMessage (const std::string &arg)
 Sets the message for the exception. More...
 

Constructor & Destructor Documentation

Pothos::UnhandledException::UnhandledException ( int  code = 0)
Pothos::UnhandledException::UnhandledException ( const std::string &  msg,
int  code = 0 
)
Pothos::UnhandledException::UnhandledException ( const std::string &  msg,
const std::string &  arg,
int  code = 0 
)
Pothos::UnhandledException::UnhandledException ( const std::string &  msg,
const Pothos::Exception exc,
int  code = 0 
)
Pothos::UnhandledException::UnhandledException ( const UnhandledException exc)
Pothos::UnhandledException::~UnhandledException ( )
throw (
)

Member Function Documentation

const char* Pothos::UnhandledException::className ( ) const
throw (
)
virtual

Returns a static string describing the exception.

Reimplemented from Pothos::LogicException.

Pothos::Exception* Pothos::UnhandledException::clone ( ) const
virtual

Returns a string consisting of the message name and the message text.

Reimplemented from Pothos::LogicException.

const char* Pothos::UnhandledException::name ( ) const
throw (
)
virtual

Assignment operator.

Reimplemented from Pothos::LogicException.

UnhandledException& Pothos::UnhandledException::operator= ( const UnhandledException exc)
void Pothos::UnhandledException::rethrow ( ) const
virtual

Creates an exact copy of the exception.

The copy can later be thrown again by invoking rethrow() on it.

Reimplemented from Pothos::LogicException.


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