18 #include "GlfException.h"
34 const std::string& errorMsg)
37 myStatus.
setStatus(status, errorMsg.c_str());
46 GlfException::~GlfException() throw()
virtual const char * what() const
Returns the error message of this exception.
GlfException()
Constructor that sets the exception to a default status and error message.
This class is used to track the status results of some methods in the GLF classes using the status en...
const char * getStatusMessage() const
Return the status message.
void setStatus(Status newStatus, const char *newMessage)
Set the status with the specified values.
void addError(Status newStatus, const char *newMessage)
Adds the specified error message to the status message, setting the status to newStatus if the curren...
Status
Return value enum for the GlfFile class methods.
@ UNKNOWN
unknown result (default value should never be used)