Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Public Member Functions | List of all members
Pothos::ProtocolException Class Reference

#include <Exception.hpp>

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

Public Member Functions

 ProtocolException (int code=0)
 
 ProtocolException (const std::string &msg, int code=0)
 
 ProtocolException (const std::string &msg, const std::string &arg, int code=0)
 
 ProtocolException (const std::string &msg, const Pothos::Exception &exc, int code=0)
 
 ProtocolException (const ProtocolException &exc)
 
 ~ ProtocolException () throw ()
 
ProtocolExceptionoperator= (const ProtocolException &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::IOException
 IOException (int code=0)
 
 IOException (const std::string &msg, int code=0)
 
 IOException (const std::string &msg, const std::string &arg, int code=0)
 
 IOException (const std::string &msg, const Pothos::Exception &exc, int code=0)
 
 IOException (const IOException &exc)
 
 ~ IOException () throw ()
 
IOExceptionoperator= (const IOException &exc)
 
- Public Member Functions inherited from Pothos::RuntimeException
 RuntimeException (int code=0)
 
 RuntimeException (const std::string &msg, int code=0)
 
 RuntimeException (const std::string &msg, const std::string &arg, int code=0)
 
 RuntimeException (const std::string &msg, const Pothos::Exception &exc, int code=0)
 
 RuntimeException (const RuntimeException &exc)
 
 ~ RuntimeException () throw ()
 
RuntimeExceptionoperator= (const RuntimeException &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

◆ ProtocolException() [1/5]

Pothos::ProtocolException::ProtocolException ( int  code = 0)

◆ ProtocolException() [2/5]

Pothos::ProtocolException::ProtocolException ( const std::string &  msg,
int  code = 0 
)

◆ ProtocolException() [3/5]

Pothos::ProtocolException::ProtocolException ( const std::string &  msg,
const std::string &  arg,
int  code = 0 
)

◆ ProtocolException() [4/5]

Pothos::ProtocolException::ProtocolException ( const std::string &  msg,
const Pothos::Exception exc,
int  code = 0 
)

◆ ProtocolException() [5/5]

Pothos::ProtocolException::ProtocolException ( const ProtocolException exc)

◆ ~ ProtocolException()

Pothos::ProtocolException::~ ProtocolException ( )
throw (
)

Member Function Documentation

◆ className()

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

Returns a static string describing the exception.

Reimplemented from Pothos::IOException.

◆ clone()

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

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

Reimplemented from Pothos::IOException.

◆ name()

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

Assignment operator.

Reimplemented from Pothos::IOException.

◆ operator=()

ProtocolException& Pothos::ProtocolException::operator= ( const ProtocolException exc)

◆ rethrow()

void Pothos::ProtocolException::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::IOException.


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