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

exceptions.h File Reference

Declerations for the exceptions thrown by any PackageManager class. More...

#include "pmstring.h"
#include "dependency.h"
#include "packageversion.h"

Go to the source code of this file.

Enumerations

enum  PortageErrorCode {
  eNotEnoughMem, eErrorOpeningFile, eFileStreamError, eInvalidDescription,
  eInvalidVariable, eBadFormatOrDependency, eNoResults, eBadVersionCompare,
  eEmptyVersionCompare, eNoVirtualFound, eVirtualUnavailable
}
 Exception error codes. More...


Detailed Description


Enumeration Type Documentation

enum PortageErrorCode
 

Enum for all errorCodes supplied by PortageErrorCode. Check with the function that throws the exception to see if the message contains any useful information.

Enumeration values:
eNotEnoughMem  New error - not enough memory for a new.
eErrorOpeningFile  Cannot open a file.
eFileStreamError  Error with a filestrem.
eInvalidDescription  Invalid format of category/name-version string.
eInvalidVariable  Invalid variable, not found in ConfigReader.
eBadFormatOrDependency  An || in a dependency string was not followed by a bracket.
eNoResults  Thrown if there are no results for the Search.
eBadVersionCompare  Version compare could not come up with an answer - this is a bug.
eEmptyVersionCompare  Empty string passed to version compare.
eNoVirtualFound  No Virtual found for the string supplied.
eVirtualUnavailable  The virtual asked for was unavailable. Possibly masked?


Generated on Wed May 25 15:29:54 2005 for Package Management System for Gentoo Linux by  doxygen 1.4.1