FatalFountainException Class Reference

This class inherits from the FountainException class to override its isFatal method to distinguish between exceptions that should be rethrown when caught and those that should not. More...

#include <FountainErrors.h>

Inheritance diagram for FatalFountainException:

FountainException List of all members.

Public Member Functions

 FatalFountainException (const std::string &msg=std::string(), FountainErrorCode code=unknownFailure) throw ()
 Create an exception with the error string msg and FountainErrorCode code.
 FatalFountainException (const char *msg, FountainErrorCode code=unknownFailure) throw ()
 Create an exception with the error string msg and FountainErrorCode code.
bool isFatal () const
 Overrides the isFatal method of our parent class.

Detailed Description

This class inherits from the FountainException class to override its isFatal method to distinguish between exceptions that should be rethrown when caught and those that should not.


Constructor & Destructor Documentation

FatalFountainException::FatalFountainException const std::string &  msg = std::string(),
FountainErrorCode  code = unknownFailure
throw ()
 

Create an exception with the error string msg and FountainErrorCode code.

Parameters:
msg The string containing the error message
code The FountainErrorCode describing the failure

FatalFountainException::FatalFountainException const char *  msg,
FountainErrorCode  code = unknownFailure
throw ()
 

Create an exception with the error string msg and FountainErrorCode code.

Parameters:
msg The string containing the error message
code The FountainErrorCode describing the failure


Member Function Documentation

bool FatalFountainException::isFatal  )  const [inline, virtual]
 

Overrides the isFatal method of our parent class.

Returns:
true this exception should be rethrown when caught

Reimplemented from FountainException.


The documentation for this class was generated from the following files:
Generated on Wed Mar 8 14:43:32 2006 for Fountain by  doxygen 1.4.6