Mercurial > projects > mde
comparison mde/options.d @ 25:2c28ee04a4ed
Some minor and some futile efforts.
Played around with init functions, had problems, gave up and put them back.
Removed idea for multiple init stages; it's not good for performance or simplicity.
Adjusted exception messages.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 03 Apr 2008 17:26:52 +0100 |
parents | 32eff0e01c05 |
children | 611f7b9063c6 |
comparison
equal
deleted
inserted
replaced
24:32eff0e01c05 | 25:2c28ee04a4ed |
---|---|
162 }; | 162 }; |
163 reader.read; | 163 reader.read; |
164 } catch (MTException e) { | 164 } catch (MTException e) { |
165 logger.fatal (MT_LOAD_EXC); | 165 logger.fatal (MT_LOAD_EXC); |
166 logger.fatal (e.msg); | 166 logger.fatal (e.msg); |
167 throw new optionsLoadException ("Loading aborted: mergetag exception"); | 167 throw new optionsLoadException ("Mergetag exception (see above message)"); |
168 } | 168 } |
169 } | 169 } |
170 static void save () { | 170 static void save () { |
171 if (!changed) return; // no changes to save | 171 if (!changed) return; // no changes to save |
172 | 172 |