DefaultLogger::setLogFilename throws char*

Issue #443 resolved
Former user created an issue

Automatic migration. Original reporter: "1337"

Referring to the trunk (r2560) with an issue introduced 01/26/2006 (adding of DefaultLogger.cpp):

The setLogFilename method of the DefaultLogger throws a C string instead of an exception object on line 150: CEGUI_THROW("Logger::setLogFilename - Failed to open file.");

This seems to be the only occurrence of this kind, so I have to assume that the behaviour is unwanted, considering that every other CEGUI exception can be caught as std::exception.

In our project, I have resolved it by also handling "const char*".

Reproducibility: always

Comments (1)

  1. Log in to comment