File tom/Condition


class tom.Condition

Inherits

State supers
State

methods

instance (id)
      for All object
    class ConditionClass condition_class
  message String msg;
Return a new Condition for the indicated circumstances.

instance tom.Condition

variables

public ConditionClass condition_class;
The condition class of the condition indicated by this Condition.
public _builtin_.Any object;
The object by/for which this condition was raised.
public String message;
The message explaing what actually happened.
public boolean raised;
Iff TRUE, this condition was raised, otherwise it was signaled.

methods

protected id
  initFor All o
    class ConditionClass cc
  message String msg;
Undocumented.

void
  raise;
Raise this condition; guaranteed never to return.

_builtin_.Any
  signal;
Signal this condition. If a handler performs a non-local break, this method does not return. If no handler is installed, nil is returned. If a handler returns something different from this condition, signaling is terminated and that value is returned.

OutputStream (s)
  writeFields OutputStream s;
Undocumented.


class tom.SelectorCondition

Inherits

State supers
Condition

methods

instance (id)
       for All object
     class ConditionClass condition_class
   message String msg
  selector selector sel;
Return a new SelectorCondition for the indicated circumstances.

instance tom.SelectorCondition

variables

selector sel;
The selector which was sent to the object.

methods

protected id
   initFor All o
     class ConditionClass cc
   message String msg
  selector selector s;
Undocumented.

selector
  selector;
Return the selector, sel.

OutputStream (s)
  writeFields OutputStream s;
Undocumented.


Generated by tm 1.01.