ns::Exception Class Reference

Exception class used by netstream subsystem. More...

#include <ns_exception.h>

Inheritance diagram for ns::Exception:

ns::HostException List of all members.

Public Member Functions

 Exception (char *msg)
 Creates new exception with specified message.
 Exception (char *fmt,...)
 Creates new exception with specified message by printf-like way.
void print ()
 Prints exception message.

Detailed Description

Exception class used by netstream subsystem.


Constructor & Destructor Documentation

ns::Exception::Exception ( char *  msg  ) 

Creates new exception with specified message.

Parameters:
msg Exception message

ns::Exception::Exception ( char *  fmt,
  ... 
)

Creates new exception with specified message by printf-like way.

Parameters:
fmt Formating string same as for printf function.


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 09:36:19 2007 for NetStreamlibrary by  doxygen 1.5.1