reSIProcate/stack  9694
Public Member Functions
resip::SipStack::Exception Class Reference

thrown when the stack is unable to function. More...

#include <SipStack.hxx>

Inheritance diagram for resip::SipStack::Exception:
Inheritance graph
[legend]
Collaboration diagram for resip::SipStack::Exception:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Exception (const Data &msg, const Data &file, const int line)
 constructor
const char * name () const
 what gets called instead of the pure virtual in the base

Detailed Description

thrown when the stack is unable to function.

For instance, the stack cannot process messages because there are no transports associated with the stack.

Definition at line 242 of file SipStack.hxx.


Constructor & Destructor Documentation

resip::SipStack::Exception::Exception ( const Data msg,
const Data file,
const int  line 
) [inline]

constructor

Parameters:
msgThe message to be put in the exception
fileThe source code file where the exception got thrown
lineThe line number in the file where the exception got thrown
Note:
Used thus in SipStack.cxx: throw Exception("exception message", __FILE__, __LINE__);

Definition at line 254 of file SipStack.hxx.

               : BaseException(msg, file, line) {}

Member Function Documentation

const char* resip::SipStack::Exception::name ( ) const [inline, virtual]

what gets called instead of the pure virtual in the base

Implements resip::BaseException.

Definition at line 260 of file SipStack.hxx.

{ return "SipStack::Exception"; }

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