On 19/10/2010 20:03, Denis Koroskin wrote:
On Tue, 19 Oct 2010 22:54:33 +0400, Kagamin <s...@here.lot> wrote:

spir Wrote:

The example uses an Excpetion type, but the somewhat comment
contradicts it. Can one really use any kind of object as exception?

ps it's fun to throw strings in javascript, try it.
:3

I've been throwing const char* in C++:

try {
throw "not implemented";
} catch (const char* message) {
printf("Exception: %s\n", message);
}

You evil man.

--
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk

Reply via email to