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