Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::ResourceException Class Reference

A resource exception is a generic exception that represents a failure due to inadequate resources of some kind. More...

#include <PhxExceptions.h>

Inheritance diagram for Phx::ResourceException:

Phx::Exception Phx::InUseException Phx::IOException Phx::MemoryException Phx::NotFoundException Phx::PermissionException List of all members.

Public Member Functions

virtual const char * what () const throw ()
 Overloads the std::exception what() method to return a brief message.

Detailed Description

A resource exception is a generic exception that represents a failure due to inadequate resources of some kind.

Almost all exceptions can be viewed as resource exceptions -- usually it is an error caused by inadequate amount of some resource or inability to use a particular resource.

When possible, use the more specific exception types that derive from this.


Member Function Documentation

virtual const char* Phx::ResourceException::what  )  const throw () [inline, virtual]
 

Overloads the std::exception what() method to return a brief message.

In general, the message should be very short, usually just specifying the type of error. Any information about the cause of the error itself that is not useful for programatic purposes should be logged rather than returned in the exception.

Reimplemented from Phx::Exception.

Reimplemented in Phx::MemoryException, Phx::IOException, Phx::InUseException, Phx::NotFoundException, and Phx::PermissionException.


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 19:45:30 2006 for Phoenix OSFS by  doxygen 1.4.2