I’m currently implementing Exceptions….

… and I just got the following test script to run correctly:

es -n CLR.System -d “[nil zork] on: Exception do: [:ex | Console writeLine: ex printString]”

It produces the following output:

System.MissingMemberException: Message not understood: UndefinedObject instances
do not know how to respond to the message ‘zork’
at EssenceSharp.Runtime.ESKernel.throwMessageNotUnderstood(ESBehavior esClass
, ESMessage message) in c:\Users\Strategesis\Documents\Visual Studio 2013\Projec
ts\Essence Sharp\Source\Runtime\ESKernel.cs:line 1804
at CallSite.Target(Closure , CallSite , Object )
at lambda_method(Closure )
at CallSite.Target(Closure , CallSite , Object , Object , Object )

[nil zork] on: Exception do: [:ex | Console writeLine: ex printString] => { Console}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s