Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

PortageException Struct Reference

The main exception class within Sportage. More...

#include <exceptions.h>

List of all members.

Public Member Functions

 PortageException (PortageErrorCode code)
 Constructor setting up errorcode.
 PortageException (PortageErrorCode code, PMString message)

Public Attributes

PortageErrorCode errorCode
 Error code.
PMString errorMessage
 Message - a useful string to go with the code. Check throwing function to see what it contains.


Detailed Description

The main exception class within Sportage. These can be thrown both as warnings and fatal errors, check the function to see if the error is fatal.


Constructor & Destructor Documentation

PortageException::PortageException PortageErrorCode  code,
PMString  message
[inline]
 

Parameters:
message  Constructor setting up code and message.


The documentation for this struct was generated from the following file:
Generated on Wed May 25 15:29:54 2005 for Package Management System for Gentoo Linux by  doxygen 1.4.1