eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'QueryWithoutDefault':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: QueryWithoutDefault


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Notification
         |
         +--Query
            |
            +--QueryWithoutDefault

Package:
stx:libbasic
Category:
Kernel-Exceptions
Version:
rev: 1.6 date: 2021/11/21 15:58:12
user: cg
file: QueryWithoutDefault.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Like a Query, but MUST be handled (i.e. an answer:do: context must 
be found when a query is asked).
If unhandled, a NoHandler exception is raised as usual.

copyright

COPYRIGHT (c) 2002 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  defaultNotifierString


Instance protocol:

default actions
o  defaultAction
re-redefined to raise a noHandler error, if no handler was found


Examples:


    QueryWithoutDefault answer:'hello'
    do:[
        Transcript showCR:(QueryWithoutDefault query)
    ]
    QueryWithoutDefault query


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 11:12:31 GMT