1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix settings to honor numeric conversion errors

Rename try* non exceptioning functions to *NoEx
This commit is contained in:
sapier 2014-02-05 01:35:40 +01:00 committed by kwolekr
parent 2927a327ca
commit 3f376a092e
8 changed files with 79 additions and 43 deletions

View file

@ -85,6 +85,11 @@ public:
SettingNotFoundException(std::string s): BaseException(s) {}
};
class NumericException : public BaseException {
public:
NumericException(std::string s): BaseException(s) {}
};
class InvalidFilenameException : public BaseException {
public:
InvalidFilenameException(std::string s): BaseException(s) {}