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.3 date: 2005/01/20 12:26:17
user: stefan
file: QueryWithoutDefault.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

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.


Related information:

    Query
    Warning
    Signal
    QuerySignal

Class protocol:

initialization
o  initialize


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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 26 May 2022 12:09:19 GMT