Mercurial > projects > mde
diff mde/scheduler/exception.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 | 838577503598 |
children | 611f7b9063c6 |
line wrap: on
line diff
--- a/mde/scheduler/exception.d Thu Mar 27 16:15:21 2008 +0000 +++ b/mde/scheduler/exception.d Thu Apr 03 17:26:52 2008 +0100 @@ -20,11 +20,8 @@ /// Thrown when Init fails. class InitException : mdeException { - // NOTE: if symbol is final, it can't be modified in the static this(), but as const it can - static const char[] symbol; - static this () { symbol = super.symbol ~ ".Init"; } char[] getSymbol () { - return symbol; + return super.getSymbol ~ ".Init"; } this (char[] msg) {