HyperionException

Superclass:
stdexception
Declared In:

Introduction

Exception class used by the hCommLibrary.



Member Functions

HyperionException(hComm *)
HyperionException(int, std :: string)
what

HyperionException(hComm *)


public

HyperionException( hComm *errorSource)
Parameters
errorSource

A pointer to the hComm object that is throwing the exception.

Discussion

Constructor for HyperionException. This constructor takes a pointer to an hComm object, from which the detailed error information is retrieved.


HyperionException(int, std :: string)


public

HyperionException( int errorNumber, std::string errorMessage = "") : errorNumber( errorNumber), errorMessage( errorMessage) ;
Parameters
errorNumber

The errorNumber to assign to the exception.

errorMessage

A String containing a description of the error

Discussion

Construct for HyperionException. In this constructor, the errorNumber and errorMessage are supplied manually


what


public

virtual const char* what() const throw()
Return Value

Returns a pointer to the descriptive string.

Discussion

Overloaded function that returns a string describing the exception