Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::SystemException Class Reference

#include <tsystem.h>

Inheritance diagram for SmartSockets::SystemException::

SmartSockets::Exception List of all members.

Public Methods

 SystemException ()
 SystemException (int4 errNum, int4 runCommandErr=0)
virtual void setRunCommandError (int4 errNum) throw ()
virtual int4 getRunCommandError () throw ()
virtual ~SystemException () throw ()

Detailed Description

Inherits from Exception so users can trap System related exceptions. Offers no additional functionality.

See also:
Exception, System


Constructor & Destructor Documentation

SmartSockets::SystemException::SystemException   [inline]
 

Constructor.

SmartSockets::SystemException::SystemException int4    errNum,
int4    runCommandErr = 0
[inline]
 

Constructor that lets the error number be set.

Parameters:
errNum  the SmartSockets error number
spawnError  used by the System::runCommand() method to set the return value of non-successful system calls.

virtual SmartSockets::SystemException::~SystemException   throw () [inline, virtual]
 

Destructor.


Member Function Documentation

virtual int4 SmartSockets::SystemException::getRunCommandError   throw () [inline, virtual]
 

Allows one to get the RunCommand error code. This is value is typically set by the System::runCommand() method when a system call was not successful.

virtual void SmartSockets::SystemException::setRunCommandError int4    errNum throw () [inline, virtual]
 

Allows one to set the RunCommand error code. This is used by the System::runCommand() method.


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:55 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001