[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11. Signals

There are new signal types that can be caught when using eieio.

Signal: invalid-slot-name obj-or-class slot
This signal is called when an attempt to reference a slot in an obj-or-class is made, and the slot is not defined for it.

Signal: no-method-definition method arguments
This signal is called when method is called, with arguments and nothing is resolved. This occurs when method has been defined, but the arguments make it impossible for eieio to determine which method body to run.

Overload the method no-method-definition to protect against this signal.

Signal: no-next-method class arguments
This signal is called if the function call-next-method is called and there is no next method to be called.

Overload the method no-next-method to protect against this signal.

Signal: invalid-slot-type slot spec value
This signal is called when an attempt to set slot is made, and var doesn't match the specified type spec.

In EIEIO, this is also used of a slot specifier has an invalid value during a defclass.

Signal: unbound-slot object class slot
This signal is called when an attempt to reference slot in object is made, and that instance is currently unbound.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by XEmacs shared group account on December, 19 2009 using texi2html 1.65.