P. 1
Telescript Language Reference

Telescript Language Reference

|Views: 17|Likes:
Published by pablo_marx

More info:

Published by: pablo_marx on Nov 23, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/07/2011

pdf

text

original

Object
•Exception
••Programming Exception
•••Kernel Exception
••••Execution Exception

Class

ExecutionException: abstract interface
(KernelException) = ();

A kernel exception that indicates that the engine can’t execute an object.

Subclasses

ArgumentInvalid: interface (ExecutionException) = ();

An argument of an operation doesn’t satisfy its type.

ArgumentMissing: interface (ExecutionException) = ();

An argument of an operation is missing.

AttributeReadOnly: interface (ExecutionException) = ();

An attribute is read only and thus can’t be set.

ClassUnavailable: interface (ExecutionException) = ();

A class is unavailable.

EscalationInvalid: interface (ExecutionException) = ();

A feature is escalated improperly.

FeatureUnavailable: interface (ExecutionException) = ();

A feature is undefined or private and the responder isn’t nil.

General Magic, Inc. Telescript Language Reference. TDE 1_0 Alpha

125

The Telescript Language Reference

InternalException: interface (ExecutionException) = ();

The engine doesn’t implement some aspect of the language.

Note. Ideally, the engine never throws a member of this class. Practically, the
engine’s specification states under what conditions the engine does so.

PermitExhausted: interface (ExecutionException) = ();

The current permit is exhausted.

PropertyUndefined: interface (ExecutionException) = ();

A property identifier is undefined.

ReferenceProtected: interface (ExecutionException) = ();

A reference is protected and thus the object can’t be modified.

ReferenceVoid: interface (ExecutionException) = ();

The reference to an operation’s responder is voided.

ResponderMissing: interface (ExecutionException) = ();

An operation’s responder is missing.

ResponderNil: interface (ExecutionException) = ();

A feature is undefined or private and the responder is nil.

ResultInvalid: interface (ExecutionException) = ();

An operation’s result doesn’t satisfy its type.

ResultMissing: interface (ExecutionException) = ();

An operation’s result is missing.

VariableUndefined: interface (ExecutionException) = ();

A local variable identifier is undefined.

126

General Magic, Inc. Telescript Language Reference. TDE 1_0 Alpha

126

Predefined Classes

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->